OSDN Git Service

Btrfs: cleanup d_obtain_alias useage
authorChristoph Hellwig <hch@lst.de>
Fri, 5 Sep 2008 20:43:20 +0000 (16:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commit50ec891cc54fb865c4c40c45845e60123e0e66ca
treef428fec2622044cd6b0a3adc90f0d7be6b62b6b9
parent91c0827de247303c6dfc40a8ec9d8305e1d07986
Btrfs: cleanup d_obtain_alias useage

d_obtain_alias is intended as a tailcall that can pass in errors encoded
in the inode pointer if needed, so use it that way instead of
duplicating the error handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/export.c