]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ovl: set I_CREATING on inode being created
authorMiklos Szeredi <miklos@szeredi.hu>
Wed, 22 Aug 2018 08:55:22 +0000 (10:55 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 20:15:25 +0000 (13:15 -0700)
commit6faf05c2b2b4fe70d9068067437649401531de0a
tree11013bae190f6188a45c62db96a3975a68863e26
parentcd9b44f90763c3367e8dd0601849ffb028e8ba52
ovl: set I_CREATING on inode being created

...otherwise there will be list corruption due to inode_sb_list_add() being
called for inode already on the sb list.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: e950564b97fd ("vfs: don't evict uninitialized inode")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/overlayfs/dir.c