commit | da1ce0670c14d8380e423a3239e562a1dc15fa9e | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:43 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:43 2014 +0200 |
tree | 146ea4ac0fbf5550db8e65a59ddc7c668b68db76 | |
parent | 4fd699ae3fbca2ac760137e1d26f98a105f59f05 [diff] |
vfs: add cross-rename If flags contain RENAME_EXCHANGE then exchange source and destination files. There's no restriction on the type of the files; e.g. a directory can be exchanged with a symlink. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: J. Bruce Fields <bfields@redhat.com>