switch vfs_getattr() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e72837e3e7
commit
3dadecce20
14 changed files with 40 additions and 35 deletions
|
|
@ -2519,7 +2519,7 @@ static int copy_module_from_fd(int fd, struct load_info *info)
|
|||
if (err)
|
||||
goto out;
|
||||
|
||||
err = vfs_getattr(file->f_vfsmnt, file->f_dentry, &stat);
|
||||
err = vfs_getattr(&file->f_path, &stat);
|
||||
if (err)
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue