Skip to content

Commit b48c723

Browse files
committed
exit/bdflush: Remove the deprecated bdflush system call
The bdflush system call has been deprecated for a very long time. Recently Michael Schmitz tested[1] and found that the last known caller of of the bdflush system call is unaffected by it's removal. Since the code is not needed delete it. [1] https://lkml.kernel.org/r/36123b5d-daa0-6c2b-f2d4-a942f069fd54@gmail.com Link: https://lkml.kernel.org/r/87sg10quue.fsf_-_@disp2133 Tested-by: Michael Schmitz <schmitzmic@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
1 parent e73f0f0 commit b48c723

20 files changed

Lines changed: 16 additions & 46 deletions

File tree

arch/alpha/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
259 common osf_swapctl sys_ni_syscall
231231
260 common osf_memcntl sys_ni_syscall
232232
261 common osf_fdatasync sys_ni_syscall
233-
300 common bdflush sys_bdflush
233+
300 common bdflush sys_ni_syscall
234234
301 common sethae sys_sethae
235235
302 common mount sys_mount
236236
303 common old_adjtimex sys_old_adjtimex

arch/arm/tools/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
131 common quotactl sys_quotactl
148148
132 common getpgid sys_getpgid
149149
133 common fchdir sys_fchdir
150-
134 common bdflush sys_bdflush
150+
134 common bdflush sys_ni_syscall
151151
135 common sysfs sys_sysfs
152152
136 common personality sys_personality
153153
# 137 was sys_afs_syscall

arch/arm64/include/asm/unistd32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ __SYSCALL(__NR_getpgid, sys_getpgid)
279279
#define __NR_fchdir 133
280280
__SYSCALL(__NR_fchdir, sys_fchdir)
281281
#define __NR_bdflush 134
282-
__SYSCALL(__NR_bdflush, sys_bdflush)
282+
__SYSCALL(__NR_bdflush, sys_ni_syscall)
283283
#define __NR_sysfs 135
284284
__SYSCALL(__NR_sysfs, sys_sysfs)
285285
#define __NR_personality 136

arch/ia64/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
# 1135 was get_kernel_syms
124124
# 1136 was query_module
125125
113 common quotactl sys_quotactl
126-
114 common bdflush sys_bdflush
126+
114 common bdflush sys_ni_syscall
127127
115 common sysfs sys_sysfs
128128
116 common personality sys_personality
129129
117 common afs_syscall sys_ni_syscall

arch/m68k/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
131 common quotactl sys_quotactl
142142
132 common getpgid sys_getpgid
143143
133 common fchdir sys_fchdir
144-
134 common bdflush sys_bdflush
144+
134 common bdflush sys_ni_syscall
145145
135 common sysfs sys_sysfs
146146
136 common personality sys_personality
147147
# 137 was afs_syscall

arch/microblaze/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
131 common quotactl sys_quotactl
142142
132 common getpgid sys_getpgid
143143
133 common fchdir sys_fchdir
144-
134 common bdflush sys_bdflush
144+
134 common bdflush sys_ni_syscall
145145
135 common sysfs sys_sysfs
146146
136 common personality sys_personality
147147
137 common afs_syscall sys_ni_syscall

arch/mips/kernel/syscalls/syscall_o32.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
131 o32 quotactl sys_quotactl
146146
132 o32 getpgid sys_getpgid
147147
133 o32 fchdir sys_fchdir
148-
134 o32 bdflush sys_bdflush
148+
134 o32 bdflush sys_ni_syscall
149149
135 o32 sysfs sys_sysfs
150150
136 o32 personality sys_personality sys_32_personality
151151
137 o32 afs_syscall sys_ni_syscall

arch/parisc/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
131 common quotactl sys_quotactl
148148
132 common getpgid sys_getpgid
149149
133 common fchdir sys_fchdir
150-
134 common bdflush sys_bdflush
150+
134 common bdflush sys_ni_syscall
151151
135 common sysfs sys_sysfs
152152
136 32 personality parisc_personality
153153
136 64 personality sys_personality

arch/powerpc/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
131 nospu quotactl sys_quotactl
177177
132 common getpgid sys_getpgid
178178
133 common fchdir sys_fchdir
179-
134 common bdflush sys_bdflush
179+
134 common bdflush sys_ni_syscall
180180
135 common sysfs sys_sysfs
181181
136 32 personality sys_personality ppc64_personality
182182
136 64 personality ppc64_personality

arch/s390/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
131 common quotactl sys_quotactl sys_quotactl
123123
132 common getpgid sys_getpgid sys_getpgid
124124
133 common fchdir sys_fchdir sys_fchdir
125-
134 common bdflush sys_bdflush sys_bdflush
125+
134 common bdflush sys_ni_syscall sys_ni_syscall
126126
135 common sysfs sys_sysfs sys_sysfs
127127
136 common personality sys_s390_personality sys_s390_personality
128128
137 common afs_syscall - -

0 commit comments

Comments
 (0)