commit | 9bf39ab2adafd7cf8740859cb49e7b7952813a5d | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Fri Jun 19 10:29:13 2015 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 23 18:00:05 2015 -0400 |
tree | 2dc4ff57033635f0900328c99020af7bf71a31d2 | |
parent | 4bacc9c9234c7c8eec44f5ed4e960d9f96fa0f01 [diff] [blame] |
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>
diff --git a/mm/memory.c b/mm/memory.c index 22e037e..28c10da 100644 --- a/mm/memory.c +++ b/mm/memory.c
@@ -3724,7 +3724,7 @@ if (buf) { char *p; - p = d_path(&f->f_path, buf, PAGE_SIZE); + p = file_path(f, buf, PAGE_SIZE); if (IS_ERR(p)) p = "?"; printk("%s%s[%lx+%lx]", prefix, kbasename(p),