summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarco Stornelli <marco.stornelli@gmail.com>2012-10-06 12:38:18 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-09 23:33:38 -0400
commit4f7754c8891af65124dce63adb59a33198f0bf35 (patch)
treee6777d11406cabd83370c260ebc69f62e68e2308 /fs
parentaed976475bff939672b0e21595839c445dcec0fa (diff)
downloadlinux-3.10-4f7754c8891af65124dce63adb59a33198f0bf35.tar.gz
linux-3.10-4f7754c8891af65124dce63adb59a33198f0bf35.tar.bz2
linux-3.10-4f7754c8891af65124dce63adb59a33198f0bf35.zip
exofs: drop lock/unlock super
Removed lock/unlock super. Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Acked-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/exofs/super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c
index 59e3bbfac0b..5e59280d42d 100644
--- a/fs/exofs/super.c
+++ b/fs/exofs/super.c
@@ -389,8 +389,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait)
if (unlikely(ret))
goto out;
- lock_super(sb);
-
ios->length = offsetof(struct exofs_fscb, s_dev_table_oid);
memset(fscb, 0, ios->length);
fscb->s_nextid = cpu_to_le64(sbi->s_nextid);
@@ -406,8 +404,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait)
if (unlikely(ret))
EXOFS_ERR("%s: ore_write failed.\n", __func__);
-
- unlock_super(sb);
out:
EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret);
ore_put_io_state(ios);