aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2016-03-08 03:17:07 +0000
committerAl Viro <[email protected]>2016-03-08 03:25:16 +0000
commit803c00123a8012b3a283c0530910653973ef6d8f (patch)
tree71e816a7d78e5dc422917e9e13f47dfc6a5bfcc6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentuse ->d_seq to get coherency between ->d_inode and ->d_flags (diff)
downloadkernel-803c00123a8012b3a283c0530910653973ef6d8f.tar.gz
kernel-803c00123a8012b3a283c0530910653973ef6d8f.zip
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 <[email protected]> Cc: [email protected] # v3.19 Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions