switch vfs_getattr() to struct path

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-01-24 02:18:08 -05:00
parent e72837e3e7
commit 3dadecce20
14 changed files with 40 additions and 35 deletions

View File

@@ -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;