xfs: cleanup xfs_find_handle
authorChristoph Hellwig <hch@lst.de>
Sun, 8 Feb 2009 20:51:14 +0000 (21:51 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Sun, 8 Feb 2009 20:51:14 +0000 (21:51 +0100)
commit4346cdd4647e5eef15817dbfc2c091cac55e33d9
tree36dd9ea7127149bb7f3f80d4e36c7a48fec9c9ba
parentef8f7fc549bf345d92f396f5aa7b152b4969cbf7
xfs: cleanup xfs_find_handle

Remove the superflous igrab by keeping a reference on the path/file all the
time and clean up various bits of surrounding code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/linux-2.6/xfs_ioctl.c