[PATCH 04/17] xfs: tiny cleanup for xfs_link

Felix Blyakher felixb at sgi.com
Mon Jan 26 16:23:02 CST 2009


On Jan 26, 2009, at 1:31 AM, Christoph Hellwig wrote:

> The source and target inodes are guaranteed to never be the same by  
> the VFS,
> so no need to check for that (and we would get into bad trouble  
> later anyway
> if that were the case).  Also clean up the error handling to use two  
> gotos
> instead of nested conditions.
>
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Felix Blyakher <felixb at sgi.com>




More information about the xfs mailing list