ext4: use sbi in ext4_orphan_{add|del}()
authorJan Kara <jack@suse.cz>
Mon, 26 May 2014 15:39:17 +0000 (11:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 May 2014 15:39:17 +0000 (11:39 -0400)
commitcd2c080c33fdab4ecf5ad43c88be0d3b646d272b
tree55d276f533e664259f1c81121e05267c9ee46a0f
parent0baaea64009d5edbfee36a949017f7c68926fafc
ext4: use sbi in ext4_orphan_{add|del}()

Use sbi pointer consistently in ext4_orphan_del() instead of opencoding
it sometimes. Also ext4_orphan_add() uses EXT4_SB(sb) often so create
sbi variable for it as well and use it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c