fs/affs: add rename exchange
authorFabian Frederick <fabf@skynet.be>
Fri, 5 May 2017 18:52:07 +0000 (20:52 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 May 2017 19:24:52 +0000 (15:24 -0400)
commit6b4657667ba06cd2e07206c65e630acdf248bfd1
tree6ad3808b9827a537754e01be3ce97d310d1ca63a
parentc6184028a75cf63036267089741ec7ef975ebc27
fs/affs: add rename exchange

Process RENAME_EXCHANGE in affs_rename2() adding static
affs_xrename() based on affs_rename().

We remove headers from respective directories then
affect bh to other inode directory entries for swapping.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/namei.c