]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit6f3ec221b1058c77e5f9fca8551508cc69a70b26
tree55d276f533e664259f1c81121e05267c9ee46a0f
parent0a9efd1f76c0fcd09f3ac69f2ba706df2da4126c
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