All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] reiserfs: remove stray unlock_super in reiserfs_resize
@ 2009-04-23 19:25 Christoph Hellwig
  2009-04-23 19:34 ` Edward Shishkin
  2009-06-19  8:30 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Christoph Hellwig @ 2009-04-23 19:25 UTC (permalink / raw)
  To: reiserfs-devel

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>

Index: linux-2.6/fs/reiserfs/resize.c
===================================================================
--- linux-2.6.orig/fs/reiserfs/resize.c	2009-04-23 21:23:25.631074621 +0200
+++ linux-2.6/fs/reiserfs/resize.c	2009-04-23 21:23:29.435949732 +0200
@@ -82,7 +82,6 @@ int reiserfs_resize(struct super_block *
 		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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-19  8:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 19:25 [PATCH] reiserfs: remove stray unlock_super in reiserfs_resize Christoph Hellwig
2009-04-23 19:34 ` Edward Shishkin
2009-06-18 21:18   ` Christoph Hellwig
2009-06-18 22:28     ` Edward Shishkin
2009-06-19  8:30 ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.