commit | 9ec64962afb1702f75bdf046fffeecf9c8737518 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Wed Sep 14 22:28:51 2016 +0200 |
committer | Richard Weinberger <richard@nod.at> | Sun Oct 02 22:55:02 2016 +0200 |
tree | 91e5e08c8f887007ba410c75db536d407e41c49f | |
parent | 9e0a1fff8db56eaaebb74b4a3ef65f86811c4798 [diff] |
ubifs: Implement RENAME_EXCHANGE Adds RENAME_EXCHANGE to UBIFS, the operation itself is completely disjunct from a regular rename() that's why we dispatch very early in ubifs_reaname(). RENAME_EXCHANGE used by the renameat2() system call allows the caller to exchange two paths atomically. Both paths have to exist and have to be on the same filesystem. Signed-off-by: Richard Weinberger <richard@nod.at>