mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
switch vfs_getattr() to struct path
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e72837e3e7
commit
3dadecce20
14 changed files with 40 additions and 35 deletions
|
|
@ -1139,7 +1139,7 @@ loop_get_status(struct loop_device *lo, struct loop_info64 *info)
|
|||
|
||||
if (lo->lo_state != Lo_bound)
|
||||
return -ENXIO;
|
||||
error = vfs_getattr(file->f_path.mnt, file->f_path.dentry, &stat);
|
||||
error = vfs_getattr(&file->f_path, &stat);
|
||||
if (error)
|
||||
return error;
|
||||
memset(info, 0, sizeof(*info));
|
||||
|
|
|
|||
Loading…
Reference in a new issue