ext4: rename: split out helper functions
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 1 Apr 2014 15:08:44 +0000 (17:08 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 1 Apr 2014 15:08:44 +0000 (17:08 +0200)
commitbd1af145b99311242673b32dff4599ce614352be
tree23fdc9a377faf39e963169dc5dc7b3535f23b71a
parent0d7d5d678bf9e07dffe22b018cf035d511d9e86e
ext4: rename: split out helper functions

Cross rename (exchange source and dest) will need to call some of these
helpers for both source and dest, while overwriting rename currently only
calls them for one or the other.  This also makes the code easier to
follow.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/namei.c