mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] kernel: change uses of f_{dentry, vfsmnt} to use f_path
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in
linux/kernel/.
Signed-off-by: Josef "Jeff" Sipek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c941192aaf
commit
f3a43f3f64
5 changed files with 16 additions and 16 deletions
|
|
@ -959,7 +959,7 @@ static inline ssize_t relay_file_read_subbufs(struct file *filp,
|
|||
if (!desc->count)
|
||||
return 0;
|
||||
|
||||
mutex_lock(&filp->f_dentry->d_inode->i_mutex);
|
||||
mutex_lock(&filp->f_path.dentry->d_inode->i_mutex);
|
||||
do {
|
||||
if (!relay_file_read_avail(buf, *ppos))
|
||||
break;
|
||||
|
|
@ -979,7 +979,7 @@ static inline ssize_t relay_file_read_subbufs(struct file *filp,
|
|||
*ppos = relay_file_read_end_pos(buf, read_start, ret);
|
||||
}
|
||||
} while (desc->count && ret);
|
||||
mutex_unlock(&filp->f_dentry->d_inode->i_mutex);
|
||||
mutex_unlock(&filp->f_path.dentry->d_inode->i_mutex);
|
||||
|
||||
return desc->written;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue