diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-06-03 09:09:12 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-06-03 09:22:04 +0200 |
commit | e72e6497e74811e01d72b4c1b7537b3aea3ee857 (patch) | |
tree | d78dec67d0aaeea807e5ab32141802620ec7ae41 /lib/bust_spinlocks.c | |
parent | jffs2: Fix in-core inode leaks on error paths (diff) | |
download | linux-e72e6497e74811e01d72b4c1b7537b3aea3ee857.tar.xz linux-e72e6497e74811e01d72b4c1b7537b3aea3ee857.zip |
jffs2: Fix NFS race by using insert_inode_locked()
New inodes need to be locked as we're creating them, so they don't get used
by other things (like NFSd) before they're ready.
Pointed out by Al Viro.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions