Skip to content

Build fix undefined struct file_handle

Yang Xu ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/3] Build fix undefined struct file_handle

Hi Petr
I think detecting file_handle struct(it is in fcntl.h) in configure.ac is correct instead of using HAVE_NAME_TO_HANDLE_AT macro directly.

Best Regards
Yang Xu

Quoted 25 lines

Hi all,

this would be great to get merged before release.

Kind regards,
Petr

Petr Vorel (3):
lapi: Move struct file_handle into lapi/fcntl.h
fanotify: Fix build on undefined struct file_handle
syscalls: Remove unused include<fcntl.h>

  include/lapi/fcntl.h                                   | 10 ++++++++++
  include/lapi/name_to_handle_at.h                       |  9 +--------
  testcases/kernel/syscalls/fanotify/fanotify.h          |  2 +-
  testcases/kernel/syscalls/fanotify/fanotify09.c        |  1 -
  testcases/kernel/syscalls/fanotify/fanotify13.c        |  1 -
  testcases/kernel/syscalls/fanotify/fanotify15.c        |  1 -
  testcases/kernel/syscalls/fanotify/fanotify16.c        |  1 -
  .../syscalls/name_to_handle_at/name_to_handle_at01.c   |  1 -
  .../syscalls/name_to_handle_at/name_to_handle_at02.c   |  1 -
  .../syscalls/open_by_handle_at/open_by_handle_at01.c   |  1 -
  .../syscalls/open_by_handle_at/open_by_handle_at02.c   |  1 -
  11 files changed, 12 insertions(+), 17 deletions(-)