aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2014-04-14 19:07:23 +1000
committerDave Chinner <david@fromorbit.com>2014-04-14 19:07:23 +1000
commit5e06d148949bb79af429c46afb4b81bc31308f6e (patch)
tree19b06d2e1190627c989a6e0a000bfeb6b59229d1 /fs/xfs/xfs_buf.c
parentxfs: remove pointless pointer increment in xfs_dir2_block_compact() (diff)
downloadlinux-dev-5e06d148949bb79af429c46afb4b81bc31308f6e.tar.xz
linux-dev-5e06d148949bb79af429c46afb4b81bc31308f6e.zip
xfs: remove unused calculation in xfs_dir2_sf_addname()
The "add_entsize" calculated here is never used. "incr_isize" accounts for the inode expansion of the old entries + parent + new entry all by itself. Once we've removed add_entsize there, it's just a pointless intermediate variable elsewhere, so remove it. For that matter, old_isize is gratuitous too, so nuke that. And add a few comments so the magic "+1's" and "+2's" make a bit more sense. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions