All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6/8] hpfs: remove lock/unlock super
@ 2012-08-16 10:04 Marco Stornelli
  0 siblings, 0 replies; only message in thread
From: Marco Stornelli @ 2012-08-16 10:04 UTC (permalink / raw)
  To: bharrosh, bhalevy, jack, Andrew Morton, adilger.kernel, tytso,
	hirofumi, mikulas, Al Viro, hch, dushistov, osd-dev, Linux Kernel,
	linux-ext4, Linux FS Devel

From: Marco Stornelli <marco.stornelli@gmail.com>

Rmoved lock and unlock super functions.

Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
---

diff -Nurp linux-3.6-rc1-orig/fs/hpfs/super.c linux-3.6-rc1/fs/hpfs/super.c
--- linux-3.6-rc1-orig/fs/hpfs/super.c	2012-08-16 09:37:32.000000000 +0200
+++ linux-3.6-rc1/fs/hpfs/super.c	2012-08-16 11:14:41.000000000 +0200
@@ -389,7 +389,6 @@ static int hpfs_remount_fs(struct super_
 	*flags |= MS_NOATIME;
 	
 	hpfs_lock(s);
-	lock_super(s);
 	uid = sbi->sb_uid; gid = sbi->sb_gid;
 	umask = 0777 & ~sbi->sb_mode;
 	lowercase = sbi->sb_lowercase;
@@ -422,12 +421,10 @@ static int hpfs_remount_fs(struct super_
 
 	replace_mount_options(s, new_opts);
 
-	unlock_super(s);
 	hpfs_unlock(s);
 	return 0;
 
 out_err:
-	unlock_super(s);
 	hpfs_unlock(s);
 	kfree(new_opts);
 	return -EINVAL;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-16 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 10:04 [PATCH 6/8] hpfs: remove lock/unlock super Marco Stornelli

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.