]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xfs: a couple getbmap cleanups
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Apr 2009 14:50:48 +0000 (10:50 -0400)
committerFelix Blyakher <felixb@sgi.com>
Wed, 29 Apr 2009 15:00:01 +0000 (10:00 -0500)
commit4be4a00fb55879ef44b5914c189aecffa828deb4
treeed9191f7aafa17205f6044cc4bab5ffd06f9a3cd
parent2ac00af7a6d2e65013e6f28bd1f37c0cd98ba134
xfs: a couple getbmap cleanups

 - reshuffle various conditionals for data vs attr fork to make the code
   more readable
 - do fine-grainded goto-based error handling
 - exit early from conditionals instead of keeping a long else branch around
 - allow kmem_alloc to fail

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
fs/xfs/xfs_bmap.c