headers, nfsd: Add missing #includes to <linux/nfsd/syscall.h>
Subsystems (15)
PATCH 1/1 headers, nfsd: Add missing #includes to <linux/nfsd/syscall.h>
<linux/nfsd/syscall.h> uses the NFS_MAXPATHLEN and NFS_FHSIZE macros defined in <linux/nfs.h>, and struct knfsd_fh defined in <linux/nfsd/nfsfh.h>.
--- include/linux/nfsd/syscall.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/nfsd/syscall.h +2 -0
@@ -10,7 +10,9 @@#define NFSD_SYSCALL_H #include <linux/types.h> +#include <linux/nfs.h> #include <linux/nfsd/export.h> +#include <linux/nfsd/nfsfh.h> /* * Version of the syscall interface
Signature · 1 line
1.7.5.4
Quoted 3 lines · Ben Hutchings
<
linux/nfsd/syscall.h> uses theNFS_MAXPATHLENandNFS_FHSIZEmacros defined in <linux/nfs.h>, and structknfsd_fhdefined in <linux/nfsd/nfsfh.h>.
Well, the real bug is that this file exists at all. Neil sent this
http://marc.info/?l=linux-nfs&m=130881392416899&w=2 in a while ago but I didn't want to attempt to merge something that touched every arch directory. I wonder what we should do....
--b.
Quoted 24 lines
Signed-off-by Ben Hutchings <[email protected]>--- include/linux/nfsd/syscall.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)include/linux/nfsd/syscall.h +2
-0@@ -10,7 +10,9 @@#define NFSD_SYSCALL_H #include <linux/types.h> +#include <linux/nfs.h> #include <linux/nfsd/export.h> +#include <linux/nfsd/nfsfh.h> /* * Version of the syscall interface Signature · 1 line
1.7.5.4
Quoted 6 lines · J. Bruce Fields
Quoted 3 lines · Ben Hutchings
<
linux/nfsd/syscall.h> uses theNFS_MAXPATHLENandNFS_FHSIZEmacros defined in <linux/nfs.h>, and structknfsd_fhdefined in <linux/nfsd/nfsfh.h>.Well, the real bug is that this file exists at all.
OK. I've been more-or-less mechanically fixing headers and I don't have any particular expectations of this one.
Quoted 4 lines
Neil sent this
http://marc.info/?l=linux-nfs&m=130881392416899&w=2 in a while ago but I didn't want to attempt to merge something that touched every arch directory. I wonder what we should do....
[...]
So long as it's cc'd to linux-arch and linux-kernel, I don't think that's going to be a problem. Yes it might conflict, but Linus (and sfr) can cope with such conflicts.
Ben.
Signature · 3 lines
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert CamusPATCH 1/1 All Arch: remove linkage for sys_nfsservctl system call
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
---
I don't normally have to deal with this kind of cross-architecture patch; is this the right etiquette for it?
arch/alpha/kernel/systbls.S | 2 +- arch/arm/kernel/calls.S | 2 +- arch/avr32/kernel/syscall_table.S | 2 +- arch/blackfin/mach-common/entry.S | 2 +- arch/cris/arch-v10/kernel/entry.S | 2 +- arch/cris/arch-v32/kernel/entry.S | 2 +- arch/frv/kernel/entry.S | 2 +- arch/h8300/kernel/syscalls.S | 2 +- arch/ia64/kernel/entry.S | 2 +- arch/m32r/kernel/syscall_table.S | 2 +- arch/m68k/kernel/syscalltable.S | 2 +- arch/microblaze/kernel/syscall_table.S | 2 +- arch/mips/kernel/scall32-o32.S | 2 +- arch/mips/kernel/scall64-64.S | 2 +- arch/mips/kernel/scall64-n32.S | 2 +- arch/mips/kernel/scall64-o32.S | 2 +- arch/mn10300/kernel/entry.S | 2 +- arch/s390/kernel/compat_wrapper.S | 6 ------ arch/s390/kernel/syscalls.S | 2 +- arch/sh/kernel/syscalls_32.S | 2 +- arch/sh/kernel/syscalls_64.S | 2 +- arch/sparc/kernel/sys32.S | 1 - arch/sparc/kernel/systbls_32.S | 2 +- arch/sparc/kernel/systbls_64.S | 2 +- arch/x86/ia32/ia32entry.S | 2 +- arch/x86/include/asm/unistd_64.h | 2 +- arch/x86/kernel/syscall_table_32.S | 2 +- arch/xtensa/include/asm/unistd.h | 2 +- fs/compat.c | 5 ----- include/asm-generic/unistd.h | 2 +- include/linux/compat.h | 1 - include/linux/syscalls.h | 3 --- kernel/sys_ni.c | 1 - 33 files changed, 27 insertions(+), 44 deletions(-)
arch/alpha/kernel/systbls.S +1 -1
@@ -360,7 +360,7 @@ sys_call_table: .quad sys_newuname .quad sys_nanosleep /* 340 */ .quad sys_mremap - .quad sys_nfsservctl + .quad sys_ni_syscall /* old nfsservctl */ .quad sys_setresuid .quad sys_getresuid .quad sys_pciconfig_read /* 345 */
arch/arm/kernel/calls.S +1 -1
@@ -178,7 +178,7 @@ CALL(sys_ni_syscall) /* vm86 */ CALL(sys_ni_syscall) /* was sys_query_module */ CALL(sys_poll) - CALL(sys_nfsservctl) + CALL(sys_ni_syscall) /* was nfsservctl */ /* 170 */ CALL(sys_setresgid16) CALL(sys_getresgid16) CALL(sys_prctl)
arch/avr32/kernel/syscall_table.S +1 -1
@@ -158,7 +158,7 @@ sys_call_table: .long sys_sched_rr_get_interval .long sys_nanosleep .long sys_poll - .long sys_nfsservctl /* 145 */ + .long sys_ni_syscall /* 145 was nfsservctl */ .long sys_setresgid .long sys_getresgid .long sys_prctl
arch/blackfin/mach-common/entry.S +1 -1
@@ -1543,7 +1543,7 @@ ENTRY(_sys_call_table) .long _sys_ni_syscall /* for vm86 */ .long _sys_ni_syscall /* old "query_module" */ .long _sys_ni_syscall /* sys_poll */ - .long _sys_nfsservctl + .long _sys_ni_syscall /* old nfsservctl */ .long _sys_setresgid /* setresgid16 */ /* 170 */ .long _sys_getresgid /* getresgid16 */ .long _sys_prctl
arch/cris/arch-v10/kernel/entry.S +1 -1
@@ -771,7 +771,7 @@ sys_call_table: .long sys_ni_syscall /* sys_vm86 */ .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* old nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/cris/arch-v32/kernel/entry.S +1 -1
@@ -714,7 +714,7 @@ sys_call_table: .long sys_ni_syscall /* sys_vm86 */ .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* Old nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/frv/kernel/entry.S +1 -1
@@ -1358,7 +1358,7 @@ sys_call_table: .long sys_ni_syscall /* for vm86 */ .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* Old nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/h8300/kernel/syscalls.S +1 -1
@@ -183,7 +183,7 @@ SYMBOL_NAME_LABEL(sys_call_table) .long SYMBOL_NAME(sys_ni_syscall) /* for vm86 */ .long SYMBOL_NAME(sys_ni_syscall) /* sys_query_module */ .long SYMBOL_NAME(sys_poll) - .long SYMBOL_NAME(sys_nfsservctl) + .long SYMBOL_NAME(sys_ni_syscall) /* old nfsservctl */ .long SYMBOL_NAME(sys_setresgid16) /* 170 */ .long SYMBOL_NAME(sys_getresgid16) .long SYMBOL_NAME(sys_prctl)
arch/ia64/kernel/entry.S +1 -1
@@ -1614,7 +1614,7 @@ sys_call_table: data8 sys_sched_get_priority_min data8 sys_sched_rr_get_interval data8 sys_nanosleep - data8 sys_nfsservctl + data8 sys_ni_syscall // old nfsservctl data8 sys_prctl // 1170 data8 sys_getpagesize data8 sys_mmap2
arch/m32r/kernel/syscall_table.S +1 -1
@@ -168,7 +168,7 @@ ENTRY(sys_call_table) .long sys_tas /* vm86 syscall holder */ .long sys_ni_syscall /* query_module syscall holder */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* was nfsservctl */ .long sys_setresgid /* 170 */ .long sys_getresgid .long sys_prctl
arch/m68k/kernel/syscalltable.S +1 -1
@@ -189,7 +189,7 @@ ENTRY(sys_call_table) .long sys_getpagesize .long sys_ni_syscall /* old "query_module" */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* old nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/microblaze/kernel/syscall_table.S +1 -1
@@ -173,7 +173,7 @@ ENTRY(sys_call_table) .long sys_ni_syscall /* sys_vm86 */ .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* old nfsservctl */ .long sys_setresgid /* 170 */ .long sys_getresgid .long sys_prctl
arch/mips/kernel/scall32-o32.S +1 -1
@@ -424,7 +424,7 @@ einval: li v0, -ENOSYS sys sys_getresuid 3 sys sys_ni_syscall 0 /* was sys_query_module */ sys sys_poll 3 - sys sys_nfsservctl 3 + sys sys_ni_syscall 0 /* was nfsservctl */ sys sys_setresgid 3 /* 4190 */ sys sys_getresgid 3 sys sys_prctl 5
arch/mips/kernel/scall64-64.S +1 -1
@@ -299,7 +299,7 @@ sys_call_table: PTR sys_ni_syscall /* 5170, was get_kernel_syms */ PTR sys_ni_syscall /* was query_module */ PTR sys_quotactl - PTR sys_nfsservctl + PTR sys_ni_syscall /* was nfsservctl */ PTR sys_ni_syscall /* res. for getpmsg */ PTR sys_ni_syscall /* 5175 for putpmsg */ PTR sys_ni_syscall /* res. for afs_syscall */
arch/mips/kernel/scall64-n32.S +1 -1
@@ -294,7 +294,7 @@ EXPORT(sysn32_call_table) PTR sys_ni_syscall /* 6170, was get_kernel_syms */ PTR sys_ni_syscall /* was query_module */ PTR sys_quotactl - PTR compat_sys_nfsservctl + PTR sys_ni_syscall /* was nfsservctl */ PTR sys_ni_syscall /* res. for getpmsg */ PTR sys_ni_syscall /* 6175 for putpmsg */ PTR sys_ni_syscall /* res. for afs_syscall */
arch/mips/kernel/scall64-o32.S +1 -1
@@ -392,7 +392,7 @@ sys_call_table: PTR sys_getresuid PTR sys_ni_syscall /* was query_module */ PTR sys_poll - PTR compat_sys_nfsservctl + PTR sys_ni_syscall /* was nfsservctl */ PTR sys_setresgid /* 4190 */ PTR sys_getresgid PTR sys_prctl
arch/mn10300/kernel/entry.S +1 -1
@@ -589,7 +589,7 @@ ENTRY(sys_call_table) .long sys_ni_syscall /* vm86 */ .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* was nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/s390/kernel/compat_wrapper.S +0 -6
@@ -665,12 +665,6 @@ ENTRY(sys32_poll_wrapper) lgfr %r4,%r4 # long jg sys_poll # branch to system call -ENTRY(compat_sys_nfsservctl_wrapper) - lgfr %r2,%r2 # int - llgtr %r3,%r3 # struct compat_nfsctl_arg* - llgtr %r4,%r4 # union compat_nfsctl_res* - jg compat_sys_nfsservctl # branch to system call - ENTRY(sys32_setresgid16_wrapper) llgfr %r2,%r2 # __kernel_old_gid_emu31_t llgfr %r3,%r3 # __kernel_old_gid_emu31_t
arch/s390/kernel/syscalls.S +1 -1
@@ -177,7 +177,7 @@ SYSCALL(sys_getresuid16,sys_ni_syscall,sys32_getresuid16_wrapper) /* 165 old get NI_SYSCALL /* for vm86 */ NI_SYSCALL /* old sys_query_module */ SYSCALL(sys_poll,sys_poll,sys32_poll_wrapper) -SYSCALL(sys_nfsservctl,sys_nfsservctl,compat_sys_nfsservctl_wrapper) +NI_SYSCALL /* old nfsservctl */ SYSCALL(sys_setresgid16,sys_ni_syscall,sys32_setresgid16_wrapper) /* 170 old setresgid16 syscall */ SYSCALL(sys_getresgid16,sys_ni_syscall,sys32_getresgid16_wrapper) /* old getresgid16 syscall */ SYSCALL(sys_prctl,sys_prctl,sys32_prctl_wrapper)
arch/sh/kernel/syscalls_32.S +1 -1
@@ -185,7 +185,7 @@ ENTRY(sys_call_table) .long sys_ni_syscall /* vm86 */ .long sys_ni_syscall /* old "query_module" */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* was nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/sh/kernel/syscalls_64.S +1 -1
@@ -189,7 +189,7 @@ sys_call_table: .long sys_ni_syscall /* vm86 */ .long sys_ni_syscall /* old "query_module" */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* was nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/sparc/kernel/sys32.S +0 -1
@@ -81,7 +81,6 @@ SIGN2(sys32_fadvise64, compat_sys_fadvise64, %o0, %o4) SIGN2(sys32_fadvise64_64, compat_sys_fadvise64_64, %o0, %o5) SIGN2(sys32_bdflush, sys_bdflush, %o0, %o1) SIGN1(sys32_mlockall, sys_mlockall, %o0) -SIGN1(sys32_nfsservctl, compat_sys_nfsservctl, %o0) SIGN1(sys32_clock_nanosleep, compat_sys_clock_nanosleep, %o1) SIGN1(sys32_timer_settime, compat_sys_timer_settime, %o1) SIGN1(sys32_io_submit, compat_sys_io_submit, %o1)
arch/sparc/kernel/systbls_32.S +1 -1
@@ -67,7 +67,7 @@ sys_call_table: /*235*/ .long sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall /*240*/ .long sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler /*245*/ .long sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep -/*250*/ .long sys_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl +/*250*/ .long sys_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_ni_syscall /*255*/ .long sys_sync_file_range, sys_clock_settime, sys_clock_gettime, sys_clock_getres, sys_clock_nanosleep /*260*/ .long sys_sched_getaffinity, sys_sched_setaffinity, sys_timer_settime, sys_timer_gettime, sys_timer_getoverrun /*265*/ .long sys_timer_delete, sys_timer_create, sys_nis_syscall, sys_io_setup, sys_io_destroy
arch/sparc/kernel/systbls_64.S +1 -1
@@ -145,7 +145,7 @@ sys_call_table: .word sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep -/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl +/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall .word sys_sync_file_range, sys_clock_settime, sys_clock_gettime, sys_clock_getres, sys_clock_nanosleep /*260*/ .word sys_sched_getaffinity, sys_sched_setaffinity, sys_timer_settime, sys_timer_gettime, sys_timer_getoverrun .word sys_timer_delete, sys_timer_create, sys_ni_syscall, sys_io_setup, sys_io_destroy
arch/x86/ia32/ia32entry.S +1 -1
@@ -672,7 +672,7 @@ ia32_sys_call_table: .quad sys32_vm86_warning /* vm86 */ .quad quiet_ni_syscall /* query_module */ .quad sys_poll - .quad compat_sys_nfsservctl + .quad quiet_ni_syscall /* old nfsservctl */ .quad sys_setresgid16 /* 170 */ .quad sys_getresgid16 .quad sys_prctl
arch/x86/include/asm/unistd_64.h +1 -1
@@ -414,7 +414,7 @@ __SYSCALL(__NR_query_module, sys_ni_syscall) __SYSCALL(__NR_quotactl, sys_quotactl)#define __NR_nfsservctl 180 -__SYSCALL (__NR_nfsservctl, sys_nfsservctl) +__SYSCALL (__NR_nfsservctl, sys_ni_syscall) /* reserved for LiS/STREAMS */#define __NR_getpmsg 181
arch/x86/kernel/syscall_table_32.S +1 -1
@@ -168,7 +168,7 @@ ENTRY(sys_call_table) .long ptregs_vm86 .long sys_ni_syscall /* Old sys_query_module */ .long sys_poll - .long sys_nfsservctl + .long sys_ni_syscall /* Old nfsservctl */ .long sys_setresgid16 /* 170 */ .long sys_getresgid16 .long sys_prctl
arch/xtensa/include/asm/unistd.h +1 -1
@@ -455,7 +455,7 @@ __SYSCALL(203, sys_reboot, 3)#define __NR_quotactl 204 __SYSCALL(204, sys_quotactl, 4)#define __NR_nfsservctl 205 -__SYSCALL(205, sys_nfsservctl, 3) +__SYSCALL(205, sys_ni_syscall, 0)#define __NR__sysctl 206 __SYSCALL(206, sys_sysctl, 1)#define __NR_bdflush 207
fs/compat.c +0 -5
@@ -1675,11 +1675,6 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds, }#endif /* HAVE_SET_RESTORE_SIGMASK */ -long asmlinkage compat_sys_nfsservctl (int cmd,void *notused,void *notused2) -{ -return sys_ni_syscall (); -} -#ifdef CONFIG_EPOLL #ifdef HAVE_SET_RESTORE_SIGMASK
include/asm-generic/unistd.h +1 -1
@@ -143,7 +143,7 @@ __SYSCALL(__NR_pivot_root, sys_pivot_root)/* fs/nfsctl.c */ #define __NR_nfsservctl 42 -__SC_COMP (__NR_nfsservctl, sys_nfsservctl, compat_sys_nfsservctl) +__SYSCALL (__NR_nfsservctl, sys_ni_syscall) /* fs/open.c */#define __NR3264_statfs 43
include/linux/compat.h +0 -1
@@ -438,7 +438,6 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,struct compat_timespec __user *tsp, const compat_sigset_t __user *sigmask, compat_size_t sigsetsize); -asmlinkage long compat_sys_nfsservctl (int cmd,void *notused,void *notused2);asmlinkage long compat_sys_signalfd4 (int ufd,const compat_sigset_t __user *sigmask,compat_size_t sigsetsize,int flags);
include/linux/syscalls.h +0 -3
@@ -702,9 +702,6 @@ asmlinkage long sys_sysctl(struct __sysctl_args __user *args);asmlinkage long sys_sysinfo (struct sysinfo __user *info);asmlinkage long sys_sysfs (int option,unsigned long arg1,unsigned long arg2); -asmlinkage long sys_nfsservctl (int cmd, -struct nfsctl_arg __user *arg, -void __user *res);asmlinkage long sys_syslog (int type,char __user *buf,int len);asmlinkage long sys_uselib (const char __user *library);asmlinkage long sys_ni_syscall (void );
kernel/sys_ni.c +0 -1
@@ -16,7 +16,6 @@ asmlinkage long sys_ni_syscall(void)return -ENOSYS ; } -cond_syscall (sys_nfsservctl);cond_syscall (sys_quotactl);cond_syscall (sys32_quotactl);cond_syscall (sys_acct);
Signature · 6 lines
1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
On Fri, Aug 26, 2011 at 06:03:11PM -0400, J. Bruce Fields wrote:
[...]
Quoted 10 lines
arch/sparc/kernel/systbls_64.S +1
-1@@ -145,7 +145,7 @@ sys_call_table: .word sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep -/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl +/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall
[...]
^
This seems to be a typo for 'sys_ni_syscall'.
Ben.
Signature · 3 lines
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert CamusRe: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
Quoted 13 lines · Ben Hutchings
On Fri, Aug 26, 2011 at 06:03:11PM -0400, J. Bruce Fields wrote:
[...]Quoted 10 lines
arch/sparc/kernel/systbls_64.S +1
-1@@ -145,7 +145,7 @@ sys_call_table: .word sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep -/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl +/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall[...]
Quoted 2 lines
^This seems to be a typo for '
sys_ni_syscall'.
Is it? On a quick skim, both seem to occur. sys_nis_syscall seems to point to c_sys_nis_syscall(), which prints a warning and returns -ENOSYS. I can't tell what sys_ni_syscall does.
--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerRe: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to Ben HutchingsFrom: Ben Hutchings <[email protected]>
Date: Sat, 27 Aug 2011 00:32:58 +0100
Quoted 13 lines · J. Bruce Fields
[...]
Quoted 10 lines
arch/sparc/kernel/systbls_64.S +1
-1@@ -145,7 +145,7 @@ sys_call_table: .word sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep -/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nfsservctl +/*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall[...]
Quoted 2 lines
^This seems to be a typo for '
sys_ni_syscall'.
It's intentional, look at the sparc sources.
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to J. Bruce FieldsQuoted 1 line · J. Bruce Fields
=C2=A0arch/blackfin/mach-common/entry.S =C2=A0 =C2=A0 =C2=A0| =C2=A0 =
=C2=A02 +-
-mike
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to J. Bruce FieldsFrom: "J. Bruce Fields" <[email protected]>
Date: Fri, 26 Aug 2011 18:03:11 -0400
Quoted 7 lines
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
Signed-off-by NeilBrown <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to J. Bruce FieldsQuoted 4 lines · J. Bruce Fields
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
What about powerpc?
$ egrep -r nfsservctl arch/powerpc/ arch/powerpc/include/asm/systbl.h:COMPAT_SYS(nfsservctl) arch/powerpc/include/asm/unistd.h:#define __NR_nfsservctl 168
Yours Tony
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to J. Bruce FieldsHi Bruce,
Quoted 6 lines · On Fri, 26 Aug 2011 18:03:11 -0400 "J. Bruce Fields"…
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
Quoted 6 lines
Signed-off-by NeilBrown <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>---
I don't normally have to deal with this kind of cross-architecture patch; is this the right etiquette for it?
It turns out (with hindsight) that my reaction to this patch should have been:
If you haven't built this on all architectures (an noone expects you to actually do that), then it should spend a day or two in linux-next before being sent to Linus.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
Quoted 16 lines · On Tue, 30 Aug 2011 08:57:52 +1000 Stephen Rothwell <[email protected]>…
Hi Bruce,
Quoted 6 lines · On Fri, 26 Aug 2011 18:03:11 -0400 "J. Bruce Fields" <[email protected]>…
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
Quoted 6 lines
Signed-off-by NeilBrown <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>---
I don't normally have to deal with this kind of cross-architecture patch; is this the right etiquette for it?
Quoted 7 lines
It turns out (with hindsight) that my reaction to this patch should have been:
If you haven't built this on all architectures (an noone expects you to actually do that), then it should spend a day or two in linux-next before being sent to Linus.
Hi Stephen,
Thanks for your help in sorting this out. I have no idea how I missed those few nfsservctl references but I clearly did and you and -next have proved valuable yet again.
And really *everything* should spend a few days in linux-next before going to Linus. We all know that but it sometimes seem hard to *do* that .... until we have learnt the hard way a couple of times :-(
Thanks,
NeilBrown
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to J. Bruce FieldsQuoted 7 lines · J. Bruce Fields
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
Signed-off-by NeilBrown <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>
Re: [PATCH] All Arch: remove linkage for sys_nfsservctl system call
In reply to NeilBrownQuoted 27 lines · NeilBrown
Quoted 16 lines · On Tue, 30 Aug 2011 08:57:52 +1000 Stephen Rothwell…
Hi Bruce,
Quoted 6 lines · On Fri, 26 Aug 2011 18:03:11 -0400 "J. Bruce Fields"…
From: NeilBrown <[email protected]>
The nfsservctl system call is now gone, so we should remove all linkage for it.
Quoted 6 lines
Signed-off-by NeilBrown <[email protected]>Signed-off-by J. Bruce Fields <[email protected]>---
I don't normally have to deal with this kind of cross-architecture patch; is this the right etiquette for it?
Quoted 7 lines
It turns out (with hindsight) that my reaction to this patch should have been:
If you haven't built this on all architectures (an noone expects you to actually do that), then it should spend a day or two in linux-next before being sent to Linus.
Quoted 8 lines
Hi Stephen,
Thanks for your help in sorting this out. I have no idea how I missed those few nfsservctl references but I clearly did and you and -next have proved valuable yet again.And really *everything* should spend a few days in linux-next before going to Linus. We all know that but it sometimes seem hard to *do* that .... until we have learnt the hard way a couple of times :-(
Yes, sorry, I'll know not to skip -next, next time....
(My excuse: I've been advertising to -next only stuff that I've done with and committed, and this was something I wasn't even sure I should take.
But I could have either mailed it out labelled as [RFC], or stuck it in a throwaway branch to merge into my -next branch.)
Apologies again, and thanks for dealing with it so promptly.
--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html