summaryrefslogtreecommitdiffstats
path: root/fs/proc/nommu.c
diff options
context:
space:
mode:
authorMiklos Szeredi2015-06-19 10:30:28 +0200
committerAl Viro2015-06-24 00:01:07 +0200
commit2726d56620ce71f40dd583d51391b86e1ab8cc57 (patch)
tree5fad19a48f9eb60de9e407e0b0baa24bb72e7dbb /fs/proc/nommu.c
parentvfs: add file_path() helper (diff)
downloadkernel-qcow2-linux-2726d56620ce71f40dd583d51391b86e1ab8cc57.tar.gz
kernel-qcow2-linux-2726d56620ce71f40dd583d51391b86e1ab8cc57.tar.xz
kernel-qcow2-linux-2726d56620ce71f40dd583d51391b86e1ab8cc57.zip
vfs: add seq_file_path() helper
Turn seq_path(..., &file->f_path, ...); into seq_file_path(..., file, ...); Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/nommu.c')
-rw-r--r--fs/proc/nommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c
index d4a35746cab9..f8595e8b5cd0 100644
--- a/fs/proc/nommu.c
+++ b/fs/proc/nommu.c
@@ -64,7 +64,7 @@ static int nommu_region_show(struct seq_file *m, struct vm_region *region)
if (file) {
seq_pad(m, ' ');
- seq_path(m, &file->f_path, "");
+ seq_file_path(m, file, "");
}
seq_putc(m, '\n');