diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-04-29 10:50:48 -0400 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-04-30 00:28:31 -0500 |
commit | 5f79ed685fc6122018c4b5826e2e5bdb7bc6f109 (patch) | |
tree | 1d6ca51c760639bd1852c5af280ceca4cad91f08 /block/genhd.c | |
parent | b9ec9068d79e039507a247ebc5bc9c0ce53654ce (diff) |
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>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions