diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-03-23 17:00:09 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-04-14 09:30:48 +0200 |
| commit | 1a398a23787506360b4c766270de00abf51b27c8 (patch) | |
| tree | d9fb4c75387cb28559988373657c9b845a6c1fab /rust/kernel/ptr/git@git.tavy.me:linux.git | |
| parent | a27e4642629381ed36d7e22d5b6fff5792ec31f6 (diff) | |
selftests/empty_mntns: fix statmount_alloc() signature mismatch
empty_mntns.h includes ../statmount/statmount.h which provides a
4-argument statmount_alloc(mnt_id, mnt_ns_id, mask, flags), but then
redefines its own 3-argument version without the flags parameter. This
causes a build failure due to conflicting types.
Remove the duplicate definition from empty_mntns.h and update all
callers to pass 0 for the flags argument.
Fixes: 32f54f2bbccf ("selftests/filesystems: add tests for empty mount namespaces")
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
