[<prev] [next>] [day] [month] [year] [list]
Message-ID: <502CC5A6.4080606@gmail.com>
Date: Thu, 16 Aug 2012 12:04:22 +0200
From: Marco Stornelli <marco.stornelli@...il.com>
To: bharrosh@...asas.com, bhalevy@...ian.com, jack@...e.cz,
Andrew Morton <akpm@...ux-foundation.org>,
adilger.kernel@...ger.ca, tytso@....edu,
hirofumi@...l.parknet.co.jp, mikulas@...ax.karlin.mff.cuni.cz,
Al Viro <viro@...IV.linux.org.uk>, hch@...radead.org,
dushistov@...l.ru, osd-dev@...n-osd.org,
Linux Kernel <linux-kernel@...r.kernel.org>,
linux-ext4@...r.kernel.org,
Linux FS Devel <linux-fsdevel@...r.kernel.org>
Subject: [PATCH 6/8] hpfs: remove lock/unlock super
From: Marco Stornelli <marco.stornelli@...il.com>
Rmoved lock and unlock super functions.
Signed-off-by: Marco Stornelli <marco.stornelli@...il.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists