diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-09-04 21:42:22 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-09-04 21:42:22 +0200 |
commit | 495e642939114478a5237a7d91661ba93b76f15a (patch) | |
tree | 99d9efa957ece9af764956d9ae2532de375351fa /include/linux/fs.h | |
parent | 191a3980c6161d40c32e69273e0567615be17001 (diff) | |
download | lwn-495e642939114478a5237a7d91661ba93b76f15a.tar.gz lwn-495e642939114478a5237a7d91661ba93b76f15a.zip |
vfs: add flags to d_real()
Add a separate flags argument (in addition to the open flags) to control
the behavior of d_real().
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 6e1fd5d21248..ee1db83c39cb 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1233,7 +1233,7 @@ static inline struct inode *file_inode(const struct file *f) static inline struct dentry *file_dentry(const struct file *file) { - return d_real(file->f_path.dentry, file_inode(file), 0); + return d_real(file->f_path.dentry, file_inode(file), 0, 0); } static inline int locks_lock_file_wait(struct file *filp, struct file_lock *fl) |