switch vfs_getattr() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user