summaryrefslogtreecommitdiff
path: root/fs/backing-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/backing-file.c')
-rw-r--r--fs/backing-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/backing-file.c b/fs/backing-file.c
index e049a627d78f..6f16e23f7046 100644
--- a/fs/backing-file.c
+++ b/fs/backing-file.c
@@ -34,7 +34,7 @@ struct file *backing_file_open(const struct file *user_file, int flags,
const struct path *real_path,
const struct cred *cred)
{
- const struct path *user_path = &user_file->f_path;
+ const struct path *user_path = file_user_path(user_file);
struct file *f;
int error;