diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-06-02 02:05:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-06-02 02:05:42 -0400 |
commit | f407a8258610169cd8e975dba7f0b2824562014c (patch) | |
tree | 6c87b2d168a4665411a9e16b9f481599f2db25bc /fs/omfs/inode.c | |
parent | 960d447b94b22ceba286917056871d1dac8da697 (diff) | |
parent | c46a024ea5eb0165114dbbc8c82c29b7bcf66e71 (diff) |
Merge branch 'linus' into sched/core, to resolve conflict
Conflicts:
arch/sparc/include/asm/topology_64.h
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/omfs/inode.c')
-rw-r--r-- | fs/omfs/inode.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c index 138321b0c6c2..3d935c81789a 100644 --- a/fs/omfs/inode.c +++ b/fs/omfs/inode.c | |||
@@ -306,7 +306,8 @@ static const struct super_operations omfs_sops = { | |||
306 | */ | 306 | */ |
307 | static int omfs_get_imap(struct super_block *sb) | 307 | static int omfs_get_imap(struct super_block *sb) |
308 | { | 308 | { |
309 | unsigned int bitmap_size, count, array_size; | 309 | unsigned int bitmap_size, array_size; |
310 | int count; | ||
310 | struct omfs_sb_info *sbi = OMFS_SB(sb); | 311 | struct omfs_sb_info *sbi = OMFS_SB(sb); |
311 | struct buffer_head *bh; | 312 | struct buffer_head *bh; |
312 | unsigned long **ptr; | 313 | unsigned long **ptr; |
@@ -359,7 +360,7 @@ nomem: | |||
359 | } | 360 | } |
360 | 361 | ||
361 | enum { | 362 | enum { |
362 | Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask | 363 | Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask, Opt_err |
363 | }; | 364 | }; |
364 | 365 | ||
365 | static const match_table_t tokens = { | 366 | static const match_table_t tokens = { |
@@ -368,6 +369,7 @@ static const match_table_t tokens = { | |||
368 | {Opt_umask, "umask=%o"}, | 369 | {Opt_umask, "umask=%o"}, |
369 | {Opt_dmask, "dmask=%o"}, | 370 | {Opt_dmask, "dmask=%o"}, |
370 | {Opt_fmask, "fmask=%o"}, | 371 | {Opt_fmask, "fmask=%o"}, |
372 | {Opt_err, NULL}, | ||
371 | }; | 373 | }; |
372 | 374 | ||
373 | static int parse_options(char *options, struct omfs_sb_info *sbi) | 375 | static int parse_options(char *options, struct omfs_sb_info *sbi) |
@@ -548,8 +550,10 @@ static int omfs_fill_super(struct super_block *sb, void *data, int silent) | |||
548 | } | 550 | } |
549 | 551 | ||
550 | sb->s_root = d_make_root(root); | 552 | sb->s_root = d_make_root(root); |
551 | if (!sb->s_root) | 553 | if (!sb->s_root) { |
554 | ret = -ENOMEM; | ||
552 | goto out_brelse_bh2; | 555 | goto out_brelse_bh2; |
556 | } | ||
553 | printk(KERN_DEBUG "omfs: Mounted volume %s\n", omfs_rb->r_name); | 557 | printk(KERN_DEBUG "omfs: Mounted volume %s\n", omfs_rb->r_name); |
554 | 558 | ||
555 | ret = 0; | 559 | ret = 0; |