projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db10bdd
)
xfs: fix calculation of freed inode cluster blocks
author
Ben Myers
<bpm@sgi.com>
Tue, 10 Dec 2013 20:59:31 +0000
(14:59 -0600)
committer
Ben Myers
<bpm@sgi.com>
Wed, 11 Dec 2013 21:22:43 +0000
(15:22 -0600)
rec.ir_startino is an agino rather than an ino. Use the correct macro
when dealing with it in xfs_difree.
Signed-off-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_ialloc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_ialloc.c
b/fs/xfs/xfs_ialloc.c
index e87719c5bebe128988a0993c4dc0f703cd3733ca..7a728f9fc0be97d98aeb3a4908716a03d27dbe57 100644
(file)
--- a/
fs/xfs/xfs_ialloc.c
+++ b/
fs/xfs/xfs_ialloc.c
@@
-1229,7
+1229,7
@@
xfs_difree(
}
xfs_bmap_add_free(XFS_AGB_TO_FSB(mp,
- agno, XFS_
INO_TO_AGBNO(mp,
rec.ir_startino)),
+ agno, XFS_
AGINO_TO_AGBNO(mp,
rec.ir_startino)),
XFS_IALLOC_BLOCKS(mp), flist, mp);
} else {
*delete = 0;