tmp_suning_uos_patched/fs/kernfs
Al Viro 25b229dff4 fsnotify(): switch to passing const struct qstr * for file_name
Note that in fnsotify_move() and fsnotify_link() we are guaranteed
that dentry->d_name won't change during the fsnotify() evaluation
(by having the parent directory locked exclusive), so we don't
need to fetch dentry->d_name.name in the callers.  In fsnotify_dirent()
the same stability of dentry->d_name is also true, but it's a bit
more convoluted - there is one callchain (devpts_pty_new() ->
fsnotify_create() -> fsnotify_dirent()) where the parent is _not_
locked, but on devpts ->d_name of everything is unchanging; it
has neither explicit nor implicit renames.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2019-04-26 13:37:25 -04:00
..
dir.c kernfs: Allocating memory for kernfs_iattrs with kmem_cache. 2019-02-08 12:57:32 +01:00
file.c fsnotify(): switch to passing const struct qstr * for file_name 2019-04-26 13:37:25 -04:00
inode.c kernfs: Allocating memory for kernfs_iattrs with kmem_cache. 2019-02-08 12:57:32 +01:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
kernfs-internal.h Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-03-12 14:08:19 -07:00
Makefile
mount.c Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-03-12 14:08:19 -07:00
symlink.c kernfs: Fix range checks in kernfs_get_target_path 2018-09-16 22:38:57 +02:00