android_kernel_xiaomi_sm8350/fs/fuse
Miklos Szeredi e956edd052 [PATCH] fuse: fix dereferencing dentry parent
There's no locking for ->d_revalidate, so fuse_dentry_revalidate() should use
dget_parent() instead of simply dereferencing ->d_parent.

Due to topology changes in the directory tree the parent could become negative
or be destroyed while being used.  There hasn't been any reports about this
yet.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-17 08:18:45 -07:00
..
control.c [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
dev.c [PATCH] Remove readv/writev methods and use aio_read/aio_write instead 2006-10-01 00:39:28 -07:00
dir.c [PATCH] fuse: fix dereferencing dentry parent 2006-10-17 08:18:45 -07:00
file.c [PATCH] fuse: fix hang on SMP 2006-10-17 08:18:45 -07:00
fuse_i.h [PATCH] fuse: fix handling of moved directory 2006-10-17 08:18:45 -07:00
inode.c [PATCH] fuse: fix handling of moved directory 2006-10-17 08:18:45 -07:00
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00