selftests/mount_settattr: don't define sys_open_tree() twice
authorChristian Brauner <brauner@kernel.org>
Wed, 9 Apr 2025 10:55:00 +0000 (12:55 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 May 2025 09:40:08 +0000 (11:40 +0200)
commit2680acd336412b5e8c34c64377e78d85e92739c9
treeaaf9402db5a33d086ca44fb81c360a9340becf64
parent92a09c47464d040866cf2b4cd052bc60555185fb
selftests/mount_settattr: don't define sys_open_tree() twice

  CC       mount_setattr_test
mount_setattr_test.c:176:19: error: redefinition of ‘sys_open_tree’
  176 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags)
      |                   ^~~~~~~~~~~~~
In file included from mount_setattr_test.c:23:
../filesystems/overlayfs/wrappers.h:59:19: note: previous definition of ‘sys_open_tree’ with type ‘int(int,  const char *, unsigned int)’
   59 | static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags)

Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/mount_setattr/mount_setattr_test.c