mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-25 04:43:09 +00:00
vfs: add RENAME_WHITEOUT
This adds a new RENAME_WHITEOUT flag. This flag makes rename() create a whiteout of source. The whiteout creation is atomic relative to the rename. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
@ -37,6 +37,7 @@
|
||||
|
||||
#define RENAME_NOREPLACE (1 << 0) /* Don't overwrite target */
|
||||
#define RENAME_EXCHANGE (1 << 1) /* Exchange source and dest */
|
||||
#define RENAME_WHITEOUT (1 << 2) /* Whiteout source */
|
||||
|
||||
struct fstrim_range {
|
||||
__u64 start;
|
||||
|
||||
Reference in New Issue
Block a user