[XFS] Fix a porting botch on the realtime subvol growfs code path.
SGI-PV: 955515 SGI-Modid: xfs-linux-melb:xfs-kern:26806a Signed-off-by: Nathan Scott <nathans@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:

committed by
Tim Shimmin

parent
d432c80e68
commit
68c3271515
@@ -332,4 +332,11 @@ static inline __uint64_t roundup_64(__uint64_t x, __uint32_t y)
|
||||
return(x * y);
|
||||
}
|
||||
|
||||
static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y)
|
||||
{
|
||||
x += y - 1;
|
||||
do_div(x, y);
|
||||
return x;
|
||||
}
|
||||
|
||||
#endif /* __XFS_LINUX__ */
|
||||
|
Reference in New Issue
Block a user