Skip to contentSkip to conversation

exofs: drop lock/unlock super

PATCH In review Marco Stornelli 1 participant 1 message Aug 30, 2012 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 exofs: drop lock/unlock super

Removed lock/unlock super.

---
 fs/exofs/super.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
fs/exofs/super.c +0 -4
index dde41a7..c4360b5 100644
@@ -384,8 +384,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);
@@ -401,8 +399,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);
Signature · 1 line
1.7.3.4