mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] struct path: convert nbd
Signed-off-by: Josef Sipek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e9536ae720
commit
17506041de
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ static int nbd_ioctl(struct inode *inode, struct file *file,
|
|||
error = -EINVAL;
|
||||
file = fget(arg);
|
||||
if (file) {
|
||||
inode = file->f_dentry->d_inode;
|
||||
inode = file->f_path.dentry->d_inode;
|
||||
if (S_ISSOCK(inode->i_mode)) {
|
||||
lo->file = file;
|
||||
lo->sock = SOCKET_I(inode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue