projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: Use kstrtoul() instead of parse_strtoul()
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index 921bed4794e997688f7bec48b623a3b281e51dcc..0925c9a719753f19085ee267edfc643205c752aa 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-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;