Commit 4f7754c8 authored by Marco Stornelli's avatar Marco Stornelli Committed by Al Viro

exofs: drop lock/unlock super

Removed lock/unlock super.
Acked-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
Signed-off-by: default avatarMarco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent aed97647
...@@ -389,8 +389,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait) ...@@ -389,8 +389,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait)
if (unlikely(ret)) if (unlikely(ret))
goto out; goto out;
lock_super(sb);
ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); ios->length = offsetof(struct exofs_fscb, s_dev_table_oid);
memset(fscb, 0, ios->length); memset(fscb, 0, ios->length);
fscb->s_nextid = cpu_to_le64(sbi->s_nextid); fscb->s_nextid = cpu_to_le64(sbi->s_nextid);
...@@ -406,8 +404,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait) ...@@ -406,8 +404,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait)
if (unlikely(ret)) if (unlikely(ret))
EXOFS_ERR("%s: ore_write failed.\n", __func__); EXOFS_ERR("%s: ore_write failed.\n", __func__);
unlock_super(sb);
out: out:
EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret); EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret);
ore_put_io_state(ios); ore_put_io_state(ios);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment