vfs: add file_path() helper
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 19 Jun 2015 08:29:13 +0000 (10:29 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Jun 2015 22:00:05 +0000 (18:00 -0400)
commit9bf39ab2adafd7cf8740859cb49e7b7952813a5d
tree2dc4ff57033635f0900328c99020af7bf71a31d2
parent4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01
vfs: add file_path() helper

Turn
d_path(&file->f_path, ...);
into
file_path(file, ...);

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 files changed:
arch/arc/kernel/troubleshoot.c
arch/blackfin/kernel/trace.c
arch/tile/kernel/stack.c
arch/tile/mm/elf.c
drivers/block/loop.c
drivers/md/bitmap.c
drivers/md/md.c
drivers/usb/gadget/function/f_mass_storage.c
drivers/usb/gadget/function/storage_common.c
fs/binfmt_elf.c
fs/coredump.c
fs/ext4/super.c
fs/open.c
include/linux/fs.h
kernel/events/core.c
mm/memory.c