Skip to content
  • Richard Weinberger's avatar
    ubifs: Implement RENAME_EXCHANGE · 9ec64962
    Richard Weinberger authored
    
    
    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>
    9ec64962