commit | 9a423bb6e3577bb372942edfb5d9d26632741d43 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 23 15:15:35 2014 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 07 14:40:09 2014 -0400 |
tree | 73482f4b4fc8495d3695e6bbf0abf1db59cd6ae7 | |
parent | 37456771c58be10dd813fb4510035d0d67a969aa [diff] |
hostfs: support rename flags Support RENAME_NOREPLACE and RENAME_EXCHANGE flags on hostfs if the underlying filesystem supports it. Since renameat2(2) is not yet in any libc, use syscall(2) to invoke the renameat2 syscall. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>