Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349050
b: refs/heads/master
c: b810075
h: refs/heads/master
v: v3
  • Loading branch information
Benoit Goby authored and Felipe Balbi committed Jan 18, 2013
1 parent 4541655 commit 919eac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6048e4c69d80600baba35856651056860d5d8f5a
refs/heads/master: b810075002c9f25a6da83cecda39d789000a04a9
6 changes: 3 additions & 3 deletions trunk/drivers/usb/gadget/f_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1153,15 +1153,15 @@ static int ffs_fs_parse_opts(struct ffs_sb_fill_data *data, char *opts)
pr_err("%s: unmapped value: %lu\n", opts, value);
return -EINVAL;
}
}
else if (!memcmp(opts, "gid", 3))
} else if (!memcmp(opts, "gid", 3)) {
data->perms.gid = make_kgid(current_user_ns(), value);
if (!gid_valid(data->perms.gid)) {
pr_err("%s: unmapped value: %lu\n", opts, value);
return -EINVAL;
}
else
} else {
goto invalid;
}
break;

default:
Expand Down

0 comments on commit 919eac5

Please sign in to comment.