Skip to content

Commit 5c350aa

Browse files
author
Christian Brauner
committed
fcntl: remove unused VALID_UPGRADE_FLAGS
We currently do not maky use of this feature and should we implement something like this in the future it's trivial to add it back. Link: https://lore.kernel.org/r/[email protected] Cc: Christoph Hellwig <[email protected]> Cc: Aleksa Sarai <[email protected]> Cc: Al Viro <[email protected]> Cc: [email protected] Suggested-by: Richard Guy Briggs <[email protected]> Reviewed-by: Richard Guy Briggs <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent c468154 commit 5c350aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/fcntl.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
1313
O_NOATIME | O_CLOEXEC | O_PATH | __O_TMPFILE)
1414

15-
/* List of all valid flags for the how->upgrade_mask argument: */
16-
#define VALID_UPGRADE_FLAGS \
17-
(UPGRADE_NOWRITE | UPGRADE_NOREAD)
18-
1915
/* List of all valid flags for the how->resolve argument: */
2016
#define VALID_RESOLVE_FLAGS \
2117
(RESOLVE_NO_XDEV | RESOLVE_NO_MAGICLINKS | RESOLVE_NO_SYMLINKS | \

0 commit comments

Comments
 (0)