Eric Sandeen 5e06d14894 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>
2014-04-14 19:07:23 +10:00
..
2013-05-07 18:45:36 -05:00
2014-03-07 16:19:14 +11:00
2013-11-06 16:31:27 -06:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-08-12 16:53:39 -05:00
2012-11-19 20:11:24 -06:00
2011-08-12 16:21:35 -05:00
2014-02-27 15:21:07 +11:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:54 -05:00
2011-08-12 16:21:35 -05:00
2014-04-01 23:19:15 -04:00
2013-08-12 16:56:06 -05:00
2014-02-27 15:21:07 +11:00
2013-11-06 12:41:51 -06:00
2013-05-07 18:45:36 -05:00
2012-10-17 12:01:25 -05:00
2013-12-04 14:11:05 -06:00
2013-05-07 18:45:36 -05:00