linux/fs/overlayfs
Al Viro f73cc77c3a ovl: make ovl_create_real() cope with vfs_mkdir() safely
vfs_mkdir() may succeed and leave the dentry passed to it unhashed and
negative.  ovl_create_real() is the last caller breaking when that
happens.

[amir: split re-factoring of ovl_create_temp() to prep patch
       add comment about unhashed dir after mkdir
       add pr_warn() if mkdir succeeds and lookup fails]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-05-31 11:06:11 +02:00
..
Kconfig ovl: Kconfig documentation fixes 2018-05-31 11:06:10 +02:00
Makefile ovl: encode pure upper file handles 2018-01-24 11:25:59 +01:00
copy_up.c ovl: create helper ovl_create_temp() 2018-05-31 11:06:11 +02:00
dir.c ovl: make ovl_create_real() cope with vfs_mkdir() safely 2018-05-31 11:06:11 +02:00
export.c ovl: consistent i_ino for non-samefs with xino 2018-04-12 12:04:50 +02:00
inode.c ovl: consistent i_ino for non-samefs with xino 2018-04-12 12:04:50 +02:00
namei.c ovl: consistent i_ino for non-samefs with xino 2018-04-12 12:04:50 +02:00
overlayfs.h ovl: create helper ovl_create_temp() 2018-05-31 11:06:11 +02:00
ovl_entry.h ovl: add support for "xino" mount and config options 2018-04-12 12:04:50 +02:00
readdir.c ovl: consistent d_ino for non-samefs with xino 2018-04-12 12:04:50 +02:00
super.c ovl: return dentry from ovl_create_real() 2018-05-31 11:06:11 +02:00
util.c ovl: constant st_ino for non-samefs with xino 2018-04-12 12:04:50 +02:00