Skip to content
Commit 9ec64962 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

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: default avatarRichard Weinberger <richard@nod.at>
parent 9e0a1fff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment