From: Christoph Hellwig Date: Fri, 10 Dec 2010 08:42:25 +0000 (+0000) Subject: xfs: simplify xfs_map_at_offset X-Git-Tag: v2.6.38-rc1~44^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecff71e677c6d469f525dcf31ada709d5858307c;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner Signed-off-by: Alex Elder --- Reading git-diff-tree failed