]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: add RENAME_WHITEOUT
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:37 +0000 (00:14 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 23 Oct 2014 22:14:37 +0000 (00:14 +0200)
commit14722323eecad93e6131d67145d2ad5aa7c7f425
tree5354ed84bddf7ca55c6cdd3509a71fd8e0bcf63e
parent807e2d30d9e9d14aafba32ee9a1a217bef69cfc3
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>
fs/namei.c
include/uapi/linux/fs.h