Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull ext2, ext3, quota fixes from Jan Kara: "Fix three regressions caused by user namespace conversions (ext2, ext3, quota) and minor ext3 fix and cleanup." * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: quota: Silence warning about PRJQUOTA not being handled in need_print_warning() ext3: fix return values on parse_options() failure ext2: fix return values on parse_options() failure ext3: ext3_bread usage audit ext3: fix possible non-initialized variable on htree_dirblock_to_tree()
This commit is contained in:
@@ -1001,7 +1001,7 @@ static int parse_options (char *options, struct super_block *sb,
|
||||
uid = make_kuid(current_user_ns(), option);
|
||||
if (!uid_valid(uid)) {
|
||||
ext3_msg(sb, KERN_ERR, "Invalid uid value %d", option);
|
||||
return -1;
|
||||
return 0;
|
||||
|
||||
}
|
||||
sbi->s_resuid = uid;
|
||||
@@ -1012,7 +1012,7 @@ static int parse_options (char *options, struct super_block *sb,
|
||||
gid = make_kgid(current_user_ns(), option);
|
||||
if (!gid_valid(gid)) {
|
||||
ext3_msg(sb, KERN_ERR, "Invalid gid value %d", option);
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
sbi->s_resgid = gid;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user