Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334374
b: refs/heads/master
c: ae2cf42
h: refs/heads/master
v: v3
  • Loading branch information
Zhao Hongjiang authored and Jan Kara committed Oct 9, 2012
1 parent 052bf95 commit 86d9edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3d59ad6ab0b3d01c10f326bbc9b089424a3a5c4
refs/heads/master: ae2cf4284e198684cad8f654923dd8062ee46f88
4 changes: 2 additions & 2 deletions trunk/fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static int parse_options(char *options, struct super_block *sb)
uid = make_kuid(current_user_ns(), option);
if (!uid_valid(uid)) {
ext2_msg(sb, KERN_ERR, "Invalid uid value %d", option);
return -1;
return 0;

}
sbi->s_resuid = uid;
Expand All @@ -480,7 +480,7 @@ static int parse_options(char *options, struct super_block *sb)
gid = make_kgid(current_user_ns(), option);
if (!gid_valid(gid)) {
ext2_msg(sb, KERN_ERR, "Invalid gid value %d", option);
return -1;
return 0;
}
sbi->s_resgid = gid;
break;
Expand Down

0 comments on commit 86d9edc

Please sign in to comment.