diff options
| author | Amir Goldstein <[email protected]> | 2020-07-16 08:42:24 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2020-07-27 21:24:00 +0000 |
| commit | 79cb299c7e181fad683bf6191edb8224b2412512 (patch) | |
| tree | 7ba35063e2b152ec86c72a1a11ba2c934118fdbf /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | fsnotify: send event with parent/name info to sb/mount/non-dir marks (diff) | |
| download | kernel-79cb299c7e181fad683bf6191edb8224b2412512.tar.gz kernel-79cb299c7e181fad683bf6191edb8224b2412512.zip | |
fsnotify: remove check that source dentry is positive
Remove the unneeded check for positive source dentry in
fsnotify_move().
fsnotify_move() hook is mostly called from vfs_rename() under
lock_rename() and vfs_rename() starts with may_delete() test that
verifies positive source dentry. The only other caller of
fsnotify_move() - debugfs_rename() also verifies positive source.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
