]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext3: get rid of the duplicate code on ext3_fill_super
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Mon, 29 Oct 2012 07:28:07 +0000 (15:28 +0800)
committerJan Kara <jack@suse.cz>
Thu, 13 Dec 2012 15:33:24 +0000 (16:33 +0100)
commit195c0f96f0f96da317e22c9851a7ecc1a541f9ad
tree7c732ed316a3c4c6ddf01842e5cc43f872218c45
parent6d31d15f21b376ac0d8a2323fd6673683bc82bd6
ext3: get rid of the duplicate code on ext3_fill_super

Setting s_mount_opt to 0 is unnecessary because we use kzalloc() for sb
allocation. s_resuid and s_resgid are set again few lines below based on
values in on disk superblock.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c