diff options
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/super.c | 4 |
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) | |||
389 | if (unlikely(ret)) | 389 | if (unlikely(ret)) |
390 | goto out; | 390 | goto out; |
391 | 391 | ||
392 | lock_super(sb); | ||
393 | |||
394 | ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); | 392 | ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); |
395 | memset(fscb, 0, ios->length); | 393 | memset(fscb, 0, ios->length); |
396 | fscb->s_nextid = cpu_to_le64(sbi->s_nextid); | 394 | 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 | if (unlikely(ret)) | 404 | if (unlikely(ret)) |
407 | EXOFS_ERR("%s: ore_write failed.\n", __func__); | 405 | EXOFS_ERR("%s: ore_write failed.\n", __func__); |
408 | 406 | ||
409 | |||
410 | unlock_super(sb); | ||
411 | out: | 407 | out: |
412 | EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret); | 408 | EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret); |
413 | ore_put_io_state(ios); | 409 | ore_put_io_state(ios); |