ovl: return dentry from ovl_create_real()
commit95a1c8153ad8bc99e7c4b90257f20b4f0474a9a0
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 16 May 2018 14:51:25 +0000 (16 17:51 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 31 May 2018 09:06:11 +0000 (31 11:06 +0200)
treeda1fadaf2b5e9c96cab3225e596641595f0600ad
parent471ec5dcf4e712ea81bf431a57c98d4b67416d30
ovl: return dentry from ovl_create_real()

Al Viro suggested to simplify callers of ovl_create_real() by
returning the created dentry (or ERR_PTR) from ovl_create_real().

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c
fs/overlayfs/dir.c
fs/overlayfs/overlayfs.h
fs/overlayfs/super.c