diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2014-04-14 19:07:23 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 19:07:23 +1000 |
commit | 5e06d148949bb79af429c46afb4b81bc31308f6e (patch) | |
tree | 19b06d2e1190627c989a6e0a000bfeb6b59229d1 /lib/kfifo.c | |
parent | e5e98bc64df122c3c0fb562c53dac5c5dfc64975 (diff) | |
download | linux-rpi3-5e06d148949bb79af429c46afb4b81bc31308f6e.tar.gz linux-rpi3-5e06d148949bb79af429c46afb4b81bc31308f6e.tar.bz2 linux-rpi3-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 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions