commit | cb3f35bb3bf0759e00cd4f68155da9b636421f84 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 04 09:34:20 2009 +0100 |
committer | Christoph Hellwig <hch@brick.lst.de> | Wed Feb 04 09:34:20 2009 +0100 |
tree | 08b307dff77bf567ff2cb7a624010c4654690eaa | |
parent | b93b6e434c046459cf3111c76dce46ba4abcb2b6 [diff] |
xfs: tiny cleanup for xfs_link 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@lst.de> Reviewed-by: Felix Blyakher <felixb@sgi.com>