Pull 'struct fd' updates from Al Viro: "Just the 'struct fd' layout change, with conversion to accessor helpers" * tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: add struct fd constructors, get rid of __to_fd() struct fd: representation change introduce fd_file(), convert all accessors to it.
Showing the changes to kernel/module (1 of 83 files). Show all
Unified · Split
| @@ -3234,7 +3234,7 @@ SYSCALL_DEFINE3(finit_module, int, fd, const char __user *, uargs, int, flags) · 3233 unmodified lines | ||
| 3234 | 3234 | return -EINVAL; |
| 3235 | 3235 | |
| 3236 | 3236 | f = fdget(fd); |
| 3237 | − err = idempotent_init_module(f.file, uargs, flags); | |
| 3237 | + err = idempotent_init_module(fd_file(f), uargs, flags); | |
| 3238 | 3238 | fdput(f); |
| 3239 | 3239 | return err; |
| 3240 | 3240 | } |