From b50b677011dcbc35f6206e31ab907ec0c5334f87 Mon Sep 17 00:00:00 2001 From: Zhao Hongjiang Date: Tue, 9 Oct 2012 13:48:47 +0800 Subject: [PATCH] --- yaml --- r: 334375 b: refs/heads/master c: 66415f6b50f5bcbc56c78df54aacee73f3d03a3d h: refs/heads/master i: 334373: 052bf957b50043d654789ef5d517b045bc73543f 334371: e35238f86a986db5ceca28dfe91b5997146488b2 334367: 43896ef93d789538753fb65eb97208ad9c3078f9 v: v3 --- [refs] | 2 +- trunk/fs/ext3/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 9e6760506eb0..432c33ab822a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae2cf4284e198684cad8f654923dd8062ee46f88 +refs/heads/master: 66415f6b50f5bcbc56c78df54aacee73f3d03a3d diff --git a/trunk/fs/ext3/super.c b/trunk/fs/ext3/super.c index 17ae5c83d234..ebf8312c3a4e 100644 --- a/trunk/fs/ext3/super.c +++ b/trunk/fs/ext3/super.c @@ -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;