Skip to content

Commit 7f5a0fb

Browse files
committed
tools headers UAPI: sync linux/fs.h with kernel
JIRA: https://issues.redhat.com/browse/RHEL-29796 Upstream Status: RHEL only description =========== Upstream, when there is a change in a header file from the specific set of headers (listed in tools/perf/check-headers.sh), it is accompanied by a commit that brings the same change into its counterpart located in tools/include. Usually several changes are squashed together. We cannot easily follow this strategy, since we not always take all the commits squashed together. In order to tidy tools/include up, we need to sync the headers manually. Signed-off-by: Michael Petlan <mpetlan@redhat.com>
1 parent c356d20 commit 7f5a0fb

File tree

1 file changed

+5
-1
lines changed
  • tools/perf/trace/beauty/include/uapi/linux

1 file changed

+5
-1
lines changed

tools/perf/trace/beauty/include/uapi/linux/fs.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,12 @@ typedef int __bitwise __kernel_rwf_t;
301301
/* per-IO O_APPEND */
302302
#define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
303303

304+
/* Atomic Write */
305+
#define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040)
306+
307+
304308
/* mask of flags supported by the kernel */
305309
#define RWF_SUPPORTED (RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT |\
306-
RWF_APPEND)
310+
RWF_APPEND | RWF_ATOMIC)
307311

308312
#endif /* _UAPI_LINUX_FS_H */

0 commit comments

Comments
 (0)