diff options
| author | Christoph Hellwig <hch@infradead.org> | 2010-12-10 08:42:25 +0000 | 
|---|---|---|
| committer | Alex Elder <aelder@sgi.com> | 2010-12-16 16:06:07 -0600 | 
| commit | ecff71e677c6d469f525dcf31ada709d5858307c (patch) | |
| tree | 644ec23fd88da343a16e6272bd64d0d6d27ec2a6 /fs/xfs/xfs_alloc.c | |
| parent | aeea1b1f81800e362a3aca86d769d02e137a8fa7 (diff) | |
| download | olio-linux-3.10-ecff71e677c6d469f525dcf31ada709d5858307c.tar.xz olio-linux-3.10-ecff71e677c6d469f525dcf31ada709d5858307c.zip  | |
xfs: simplify xfs_map_at_offset
Move the buffer locking into the callers as they need to do it
wether they call xfs_map_at_offset or not.  Remove the b_bdev
assignment, which is already done by get_blocks.  Remove the
duplicate extent type asserts in xfs_convert_page just before
calling xfs_map_at_offset.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions