1
0
Fork 0
remarkable-linux/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 ncpfs: get rid of d_validate() nonsense 2015-01-25 23:16:26 -05:00
ncp_fs_sb.h
ncplib_kernel.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
ncplib_kernel.h ncpfs: switch to ->read_iter/->write_iter 2015-04-11 22:28:52 -04:00
ncpsign_kernel.c
ncpsign_kernel.h
sock.c
symlink.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00