]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools headers: Sync UAPI linux/mount.h with kernel sources
authorNamhyung Kim <namhyung@kernel.org>
Mon, 22 Dec 2025 22:57:10 +0000 (14:57 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 24 Dec 2025 19:42:48 +0000 (11:42 -0800)
To pick up changes from:

  78f0e33cd6c939a5 ("fs/namespace: correctly handle errors returned by grab_requested_mnt_ns")

This should be used to beautify mount syscall arguments and it addresses
these tools/perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/perf/trace/beauty/include/uapi/linux/mount.h include/uapi/linux/mount.h

Please see tools/include/uapi/README.

Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/trace/beauty/include/uapi/linux/mount.h

index 7fa67c2031a5db52ca31d6005ae699e4afd48bab..5d3f8c9e3a6256b4441a6d7af2e1347f78971777 100644 (file)
@@ -197,7 +197,7 @@ struct statmount {
  */
 struct mnt_id_req {
        __u32 size;
-       __u32 spare;
+       __u32 mnt_ns_fd;
        __u64 mnt_id;
        __u64 param;
        __u64 mnt_ns_id;