diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-01-29 04:48:30 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-01-29 04:48:30 -0500 |
commit | 617677295b53a40d0e54aac4cbbc216ffbc755dd (patch) | |
tree | 51b9e87213243ed5efff252c8e8d8fec4eebc588 /fs/debugfs/inode.c | |
parent | 5c8d1b68e01a144813e38795fe6dbe7ebb506131 (diff) | |
parent | 6abb7c25775b7fb2225ad0508236d63ca710e65f (diff) |
Merge branch 'master' into for-next
Conflicts:
drivers/devfreq/exynos4_bus.c
Sync with Linus' tree to be able to apply patches that are
against newer code (mvneta).
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r-- | fs/debugfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index b607d92cdf24..a5f12b7e228d 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -59,7 +59,6 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev | |||
59 | case S_IFDIR: | 59 | case S_IFDIR: |
60 | inode->i_op = &simple_dir_inode_operations; | 60 | inode->i_op = &simple_dir_inode_operations; |
61 | inode->i_fop = &simple_dir_operations; | 61 | inode->i_fop = &simple_dir_operations; |
62 | inode->i_private = NULL; | ||
63 | 62 | ||
64 | /* directory inodes start off with i_nlink == 2 | 63 | /* directory inodes start off with i_nlink == 2 |
65 | * (for "." entry) */ | 64 | * (for "." entry) */ |
@@ -177,7 +176,7 @@ static int debugfs_parse_options(char *data, struct debugfs_mount_opts *opts) | |||
177 | opts->uid = uid; | 176 | opts->uid = uid; |
178 | break; | 177 | break; |
179 | case Opt_gid: | 178 | case Opt_gid: |
180 | if (match_octal(&args[0], &option)) | 179 | if (match_int(&args[0], &option)) |
181 | return -EINVAL; | 180 | return -EINVAL; |
182 | gid = make_kgid(current_user_ns(), option); | 181 | gid = make_kgid(current_user_ns(), option); |
183 | if (!gid_valid(gid)) | 182 | if (!gid_valid(gid)) |