diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-01-24 02:18:08 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:08 -0500 |
commit | 3dadecce20603aa380023c65e6f55f108fd5e952 (patch) | |
tree | 9c6b1540787ba3c0c2342447bf1b35836b1e4314 /kernel/module.c | |
parent | e72837e3e7bae3f182c4ac63c9424e86f1158dd0 (diff) |
switch vfs_getattr() to struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c index b10b048367e1..950076eb3273 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -2519,7 +2519,7 @@ static int copy_module_from_fd(int fd, struct load_info *info) | |||
2519 | if (err) | 2519 | if (err) |
2520 | goto out; | 2520 | goto out; |
2521 | 2521 | ||
2522 | err = vfs_getattr(file->f_vfsmnt, file->f_dentry, &stat); | 2522 | err = vfs_getattr(&file->f_path, &stat); |
2523 | if (err) | 2523 | if (err) |
2524 | goto out; | 2524 | goto out; |
2525 | 2525 | ||