]> Pileus Git - ~andy/linux/blobdiff - kernel/module.c
mlx4_en: fix a build error on 32bit arches
[~andy/linux] / kernel / module.c
index 921bed4794e997688f7bec48b623a3b281e51dcc..0925c9a719753f19085ee267edfc643205c752aa 100644 (file)
@@ -2541,7 +2541,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;