linux/fs/overlayfs
Rui Wang ce9113bbcb ovl: fix getcwd() failure after unsuccessful rmdir
ovl_remove_upper() should do d_drop() only after it successfully
removes the dir, otherwise a subsequent getcwd() system call will
fail, breaking userspace programs.

This is to fix: https://bugzilla.kernel.org/show_bug.cgi?id=110491

Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Reviewed-by: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <stable@vger.kernel.org>
2016-03-03 17:17:45 +01:00
..
copy_up.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
dir.c ovl: fix getcwd() failure after unsuccessful rmdir 2016-03-03 17:17:45 +01:00
inode.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
overlayfs.h Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs 2016-01-21 12:20:46 -08:00
readdir.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
super.c ovl: fix working on distributed fs as lower layer 2016-03-03 17:17:45 +01:00