mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'master' into export-slabh
This commit is contained in:
commit
336f5899d2
183 changed files with 4561 additions and 2618 deletions
|
|
@ -1619,10 +1619,8 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
|
|||
save_mount_options(s, data);
|
||||
|
||||
sbi = kzalloc(sizeof(struct reiserfs_sb_info), GFP_KERNEL);
|
||||
if (!sbi) {
|
||||
errval = -ENOMEM;
|
||||
goto error_alloc;
|
||||
}
|
||||
if (!sbi)
|
||||
return -ENOMEM;
|
||||
s->s_fs_info = sbi;
|
||||
/* Set default values for options: non-aggressive tails, RO on errors */
|
||||
REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_SMALLTAIL);
|
||||
|
|
@ -1879,12 +1877,12 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent)
|
|||
return (0);
|
||||
|
||||
error:
|
||||
reiserfs_write_unlock(s);
|
||||
error_alloc:
|
||||
if (jinit_done) { /* kill the commit thread, free journal ram */
|
||||
journal_release_error(NULL, s);
|
||||
}
|
||||
|
||||
reiserfs_write_unlock(s);
|
||||
|
||||
reiserfs_free_bitmap_cache(s);
|
||||
if (SB_BUFFER_WITH_SB(s))
|
||||
brelse(SB_BUFFER_WITH_SB(s));
|
||||
|
|
|
|||
Loading…
Reference in a new issue