diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:52:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:52:03 -0400 |
commit | 79360ddd73dfe9a26f49ef4e27b8c26612929b0e (patch) | |
tree | a8b0d226e0d83ea4e3a8c27b091a7121dbb9638b /fs/exofs | |
parent | 8213a2f3eeafdecf06dd718cb4130372263f6067 (diff) | |
parent | 98f6ef64b15a48f15062aff5d143b5d9a6ae7711 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull pile 2 of vfs updates from Al Viro:
"Stuff in this one - assorted fixes, lglock tidy-up, death to
lock_super().
There'll be a VFS pile tomorrow (with patches from Jeff Layton,
sanitizing getname() and related parts of audit and preparing for
ESTALE fixes), but I'd rather push the stuff in this one ASAP - some
of the bugs closed here are quite unpleasant."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
vfs: bogus warnings in fs/namei.c
consitify do_mount() arguments
lglock: add DEFINE_STATIC_LGLOCK()
lglock: make the per_cpu locks static
lglock: remove unused DEFINE_LGLOCK_LOCKDEP()
MAX_LFS_FILESIZE definition for 64bit needs LL...
tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking
vfs: drop lock/unlock super
ufs: drop lock/unlock super
sysv: drop lock/unlock super
hpfs: drop lock/unlock super
fat: drop lock/unlock super
ext3: drop lock/unlock super
exofs: drop lock/unlock super
dup3: Return an error when oldfd == newfd.
fs: handle failed audit_log_start properly
fs: prevent use after free in auditing when symlink following was denied
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 59e3bbfac0b1..5e59280d42d7 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); |