WSL2-Linux-Kernel/fs/ncpfs
Al Viro 803c00123a ncpfs: fix a braino in OOM handling in ncp_fill_cache()
Failing to allocate an inode for child means that cache for *parent* is
incompletely populated.  So it's parent directory inode ('dir') that
needs NCPI_DIR_CACHE flag removed, *not* the child inode ('inode', which
is what we'd failed to allocate in the first place).

Fucked-up-in: commit 5e993e25 ("ncpfs: get rid of d_validate() nonsense")
Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@vger.kernel.org # v3.19
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-03-07 22:25:16 -05:00
..
Kconfig
Makefile
dir.c ncpfs: fix a braino in OOM handling in ncp_fill_cache() 2016-03-07 22:25:16 -05:00
file.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
getopt.c
getopt.h
inode.c kmemcg: account certain kmem allocations to memcg 2016-01-14 16:00:49 -08:00
ioctl.c ncpfs: don't allow negative timeouts 2015-11-20 16:17:32 -08:00
mmap.c
ncp_fs.h
ncp_fs_i.h
ncp_fs_sb.h
ncplib_kernel.c
ncplib_kernel.h
ncpsign_kernel.c
ncpsign_kernel.h
sock.c
symlink.c