Skip to content
Commit e72e6497 authored by David Woodhouse's avatar David Woodhouse
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent f324e4cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment