Skip to content

Commit ccab211

Browse files
sohilmeharndb
authored andcommitted
syscalls: Cleanup references to sys_lookup_dcookie()
commit 'be65de6b03aa ("fs: Remove dcookies support")' removed the syscall definition for lookup_dcookie. However, syscall tables still point to the old sys_lookup_dcookie() definition. Update syscall tables of all architectures to directly point to sys_ni_syscall() instead. Signed-off-by: Sohil Mehta <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Acked-by: Namhyung Kim <[email protected]> # for perf Acked-by: Russell King (Oracle) <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 43ff221 commit ccab211

File tree

25 files changed

+23
-27
lines changed

25 files changed

+23
-27
lines changed

arch/alpha/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
401 common io_submit sys_io_submit
335335
402 common io_cancel sys_io_cancel
336336
405 common exit_group sys_exit_group
337-
406 common lookup_dcookie sys_lookup_dcookie
337+
406 common lookup_dcookie sys_ni_syscall
338338
407 common epoll_create sys_epoll_create
339339
408 common epoll_ctl sys_epoll_ctl
340340
409 common epoll_wait sys_epoll_wait

arch/arm/tools/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
246 common io_submit sys_io_submit
264264
247 common io_cancel sys_io_cancel
265265
248 common exit_group sys_exit_group
266-
249 common lookup_dcookie sys_lookup_dcookie
266+
249 common lookup_dcookie sys_ni_syscall
267267
250 common epoll_create sys_epoll_create
268268
251 common epoll_ctl sys_epoll_ctl sys_oabi_epoll_ctl
269269
252 common epoll_wait sys_epoll_wait

arch/arm64/include/asm/unistd32.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,8 @@ __SYSCALL(__NR_io_submit, compat_sys_io_submit)
508508
__SYSCALL(__NR_io_cancel, sys_io_cancel)
509509
#define __NR_exit_group 248
510510
__SYSCALL(__NR_exit_group, sys_exit_group)
511-
#define __NR_lookup_dcookie 249
512-
__SYSCALL(__NR_lookup_dcookie, compat_sys_lookup_dcookie)
511+
/* 249 was lookup_dcookie */
512+
__SYSCALL(249, sys_ni_syscall)
513513
#define __NR_epoll_create 250
514514
__SYSCALL(__NR_epoll_create, sys_epoll_create)
515515
#define __NR_epoll_ctl 251

arch/m68k/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
245 common io_cancel sys_io_cancel
256256
246 common fadvise64 sys_fadvise64
257257
247 common exit_group sys_exit_group
258-
248 common lookup_dcookie sys_lookup_dcookie
258+
248 common lookup_dcookie sys_ni_syscall
259259
249 common epoll_create sys_epoll_create
260260
250 common epoll_ctl sys_epoll_ctl
261261
251 common epoll_wait sys_epoll_wait

arch/microblaze/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
250 common fadvise64 sys_fadvise64
261261
# 251 is available for reuse (was briefly sys_set_zone_reclaim)
262262
252 common exit_group sys_exit_group
263-
253 common lookup_dcookie sys_lookup_dcookie
263+
253 common lookup_dcookie sys_ni_syscall
264264
254 common epoll_create sys_epoll_create
265265
255 common epoll_ctl sys_epoll_ctl
266266
256 common epoll_wait sys_epoll_wait

arch/mips/kernel/syscalls/syscall_n32.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
203 n32 io_submit compat_sys_io_submit
215215
204 n32 io_cancel sys_io_cancel
216216
205 n32 exit_group sys_exit_group
217-
206 n32 lookup_dcookie sys_lookup_dcookie
217+
206 n32 lookup_dcookie sys_ni_syscall
218218
207 n32 epoll_create sys_epoll_create
219219
208 n32 epoll_ctl sys_epoll_ctl
220220
209 n32 epoll_wait sys_epoll_wait

arch/mips/kernel/syscalls/syscall_n64.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
203 n64 io_submit sys_io_submit
215215
204 n64 io_cancel sys_io_cancel
216216
205 n64 exit_group sys_exit_group
217-
206 n64 lookup_dcookie sys_lookup_dcookie
217+
206 n64 lookup_dcookie sys_ni_syscall
218218
207 n64 epoll_create sys_epoll_create
219219
208 n64 epoll_ctl sys_epoll_ctl
220220
209 n64 epoll_wait sys_epoll_wait

arch/mips/kernel/syscalls/syscall_o32.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
244 o32 io_submit sys_io_submit compat_sys_io_submit
259259
245 o32 io_cancel sys_io_cancel
260260
246 o32 exit_group sys_exit_group
261-
247 o32 lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie
261+
247 o32 lookup_dcookie sys_ni_syscall
262262
248 o32 epoll_create sys_epoll_create
263263
249 o32 epoll_ctl sys_epoll_ctl
264264
250 o32 epoll_wait sys_epoll_wait

arch/parisc/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
# 220 was alloc_hugepages
246246
# 221 was free_hugepages
247247
222 common exit_group sys_exit_group
248-
223 common lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie
248+
223 common lookup_dcookie sys_ni_syscall
249249
224 common epoll_create sys_epoll_create
250250
225 common epoll_ctl sys_epoll_ctl
251251
226 common epoll_wait sys_epoll_wait

arch/powerpc/kernel/syscalls/syscall.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64
295295
233 64 fadvise64 sys_fadvise64
296296
234 nospu exit_group sys_exit_group
297-
235 nospu lookup_dcookie sys_lookup_dcookie compat_sys_lookup_dcookie
297+
235 nospu lookup_dcookie sys_ni_syscall
298298
236 common epoll_create sys_epoll_create
299299
237 common epoll_ctl sys_epoll_ctl
300300
238 common epoll_wait sys_epoll_wait

0 commit comments

Comments
 (0)