[PATCH 2/2] Add support to RENAME_EXCHANGE flag V7

Eric Sandeen sandeen at sandeen.net
Fri Nov 14 12:57:44 CST 2014


On 11/14/14 12:32 PM, Carlos Maiolino wrote:
> Adds a new function named xfs_cross_rename(), responsible to handle requests
> from sys_renameat2() using RENAME_EXCHANGE flag.

I really hate to do this, but, here:

> +	/*
> +	* If we're renaming one or more directories across different parents,
> +	* update the respective ".." entries (and link counts) to match the new
> +	* parents.
> +	*/

and here:
 
>  	/*
> +	 * Handle RENAME_EXCHANGE flags
> +	*/

there are whitespace issues w/ the comments (need a " " before the "*")

who knows, maybe Dave can fix them on commit ;)

-Eric



More information about the xfs mailing list