Skip to content

Commit

Permalink
reiserfs: remove stray unlock_super in reiserfs_resize
Browse files Browse the repository at this point in the history
Reiserfs doesn't use lock_super anywhere internally, and ->remount_fs
which calls reiserfs_resize does have it currently but also expects it
to be held on return, so there's no business for the unlock_super here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked by Edward Shishkin <edward.shishkin@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Christoph Hellwig authored and Al Viro committed Jun 24, 2009
1 parent 4e8a237 commit b5450d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/reiserfs/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
if (reiserfs_allocate_list_bitmaps(s, jbitmap, bmap_nr_new) < 0) {
printk
("reiserfs_resize: unable to allocate memory for journal bitmaps\n");
unlock_super(s);
return -ENOMEM;
}
/* the new journal bitmaps are zero filled, now we copy in the bitmap
Expand Down

0 comments on commit b5450d9

Please sign in to comment.