Skip to content

Commit 22230cd

Browse files
committed
Merge branch 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull compat mount cleanups from Al Viro: "The last remnants of mount(2) compat buried by Christoph. Buried into NFS, that is. Generally I'm less enthusiastic about "let's use in_compat_syscall() deep in call chain" kind of approach than Christoph seems to be, but in this case it's warranted - that had been an NFS-specific wart, hopefully not to be repeated in any other filesystems (read: any new filesystem introducing non-text mount options will get NAKed even if it doesn't mess the layout up). IOW, not worth trying to grow an infrastructure that would avoid that use of in_compat_syscall()..." * 'compat.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: remove compat_sys_mount fs,nfs: lift compat nfs4 mount data handling into the nfs code nfs: simplify nfs4_parse_monolithic
2 parents e18afa5 + 028abd9 commit 22230cd

18 files changed

Lines changed: 138 additions & 227 deletions

File tree

‎arch/arm64/include/asm/unistd32.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ __SYSCALL(__NR_lseek, compat_sys_lseek)
5353
#define __NR_getpid 20
5454
__SYSCALL(__NR_getpid, sys_getpid)
5555
#define __NR_mount 21
56-
__SYSCALL(__NR_mount, compat_sys_mount)
56+
__SYSCALL(__NR_mount, sys_mount)
5757
/* 22 was sys_umount */
5858
__SYSCALL(22, sys_ni_syscall)
5959
#define __NR_setuid 23

‎arch/mips/kernel/syscalls/syscall_n32.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
157 n32 sync sys_sync
168168
158 n32 acct sys_acct
169169
159 n32 settimeofday compat_sys_settimeofday
170-
160 n32 mount compat_sys_mount
170+
160 n32 mount sys_mount
171171
161 n32 umount2 sys_umount
172172
162 n32 swapon sys_swapon
173173
163 n32 swapoff sys_swapoff

‎arch/mips/kernel/syscalls/syscall_o32.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
18 o32 unused18 sys_ni_syscall
3030
19 o32 lseek sys_lseek
3131
20 o32 getpid sys_getpid
32-
21 o32 mount sys_mount compat_sys_mount
32+
21 o32 mount sys_mount
3333
22 o32 umount sys_oldumount
3434
23 o32 setuid sys_setuid
3535
24 o32 getuid sys_getuid

‎arch/parisc/kernel/syscalls/syscall.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
18 common stat sys_newstat compat_sys_newstat
3030
19 common lseek sys_lseek compat_sys_lseek
3131
20 common getpid sys_getpid
32-
21 common mount sys_mount compat_sys_mount
32+
21 common mount sys_mount
3333
22 common bind sys_bind
3434
23 common setuid sys_setuid
3535
24 common getuid sys_getuid

‎arch/powerpc/kernel/syscalls/syscall.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
18 spu oldstat sys_ni_syscall
3535
19 common lseek sys_lseek compat_sys_lseek
3636
20 common getpid sys_getpid
37-
21 nospu mount sys_mount compat_sys_mount
37+
21 nospu mount sys_mount
3838
22 32 umount sys_oldumount
3939
22 64 umount sys_ni_syscall
4040
22 spu umount sys_ni_syscall

‎arch/s390/kernel/syscalls/syscall.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
16 32 lchown - sys_lchown16
2727
19 common lseek sys_lseek compat_sys_lseek
2828
20 common getpid sys_getpid sys_getpid
29-
21 common mount sys_mount compat_sys_mount
29+
21 common mount sys_mount sys_mount
3030
22 common umount sys_oldumount sys_oldumount
3131
23 32 setuid - sys_setuid16
3232
24 32 getuid - sys_getuid16

‎arch/sparc/kernel/syscalls/syscall.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
164 64 utrap_install sys_utrap_install
202202
165 common quotactl sys_quotactl
203203
166 common set_tid_address sys_set_tid_address
204-
167 common mount sys_mount compat_sys_mount
204+
167 common mount sys_mount
205205
168 common ustat sys_ustat compat_sys_ustat
206206
169 common setxattr sys_setxattr
207207
170 common lsetxattr sys_lsetxattr

‎arch/x86/entry/syscalls/syscall_32.tbl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
18 i386 oldstat sys_stat
3333
19 i386 lseek sys_lseek compat_sys_lseek
3434
20 i386 getpid sys_getpid
35-
21 i386 mount sys_mount compat_sys_mount
35+
21 i386 mount sys_mount
3636
22 i386 umount sys_oldumount
3737
23 i386 setuid sys_setuid16
3838
24 i386 getuid sys_getuid16

‎fs/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ obj-$(CONFIG_FS_DAX) += dax.o
3737
obj-$(CONFIG_FS_ENCRYPTION) += crypto/
3838
obj-$(CONFIG_FS_VERITY) += verity/
3939
obj-$(CONFIG_FILE_LOCKING) += locks.o
40-
obj-$(CONFIG_COMPAT) += compat.o
4140
obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o
4241
obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o
4342
obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o

‎fs/compat.c‎

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)