Commit b30e1493 authored by Namhyung Kim's avatar Namhyung Kim
Browse files

perf trace: Sync uapi/linux/fs.h with the kernel source



To pick up changes from:

 1f662195 ("fs: add generic FS_IOC_SHUTDOWN definitions")

This would be used to beautify filesystem syscall arguments and not to
affect builds of other tools (e.g. objtool).

Please see tools/include/uapi/README.

Reviewed-by: default avatarIan Rogers <irogers@google.com>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent aa13e4b1
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -657,4 +657,16 @@ struct procmap_query {
	__u64 build_id_addr;		/* in */
};

/*
 * Shutdown the filesystem.
 */
#define FS_IOC_SHUTDOWN _IOR('X', 125, __u32)

/*
 * Flags for FS_IOC_SHUTDOWN
 */
#define FS_SHUTDOWN_FLAGS_DEFAULT	0x0
#define FS_SHUTDOWN_FLAGS_LOGFLUSH	0x1	/* flush log but not data*/
#define FS_SHUTDOWN_FLAGS_NOLOGFLUSH	0x2	/* don't flush log nor data */

#endif /* _UAPI_LINUX_FS_H */