projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc7ed7
)
[XFS] Fix calculation of reserved AGs for inodes in 32-bit inode mode
author
Eric Sandeen
<sandeen@sgi.com>
Wed, 2 Nov 2005 04:13:42 +0000
(15:13 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Wed, 2 Nov 2005 04:13:42 +0000
(15:13 +1100)
Spotted by Roger Willcocks <willcor @at@ gmail.com>
SGI-PV: 944858
SGI-Modid: xfs-linux:xfs-kern:
201213a
Signed-off-by: Eric Sandeen <sandeen@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_mount.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_mount.c
b/fs/xfs/xfs_mount.c
index 02b1892aaf74c5c88d62c25c9ddab722e5442c6e..541d5dd474be9a2fa464c1966db37cbaa0d760fd 100644
(file)
--- a/
fs/xfs/xfs_mount.c
+++ b/
fs/xfs/xfs_mount.c
@@
-352,7
+352,7
@@
xfs_initialize_perag(
icount = sbp->sb_dblocks * sbp->sb_imax_pct;
do_div(icount, 100);
icount += sbp->sb_agblocks - 1;
- do_div(icount,
mp->m_ialloc_bl
ks);
+ do_div(icount,
sbp->sb_agbloc
ks);
max_metadata = icount;
} else {
max_metadata = agcount;