提交 4f7754c8 编写于 作者: M Marco Stornelli 提交者: Al Viro

exofs: drop lock/unlock super

Removed lock/unlock super.
Acked-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: NBoaz Harrosh <bharrosh@panasas.com>
Signed-off-by: NMarco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册