mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
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>
This commit is contained in:
parent
191a3980c6
commit
495e642939
6 changed files with 13 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue