]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: Add support to RENAME_EXCHANGE flag
authorCarlos Maiolino <cmaiolino@redhat.com>
Tue, 23 Dec 2014 21:51:42 +0000 (08:51 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Dec 2014 21:51:42 +0000 (08:51 +1100)
commitd31a1825450062b85282b4afed1c840fd306d012
treee0ef4c10543a9d78088b887c22d79a65d8eda4e0
parentdbe1b5ca26396b6c61d711c8ac4de13ebb02e9f6
xfs: Add support to RENAME_EXCHANGE flag

Adds a new function named xfs_cross_rename(), responsible for
handling requests from sys_renameat2() using RENAME_EXCHANGE flag.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_iops.c