mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 11:04:00 +08:00
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>
This commit is contained in:
parent
aed976475b
commit
4f7754c889
@ -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)
|
|||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user