xfs: don't vmap inode cluster buffers during free
authorDave Chinner <dchinner@redhat.com>
Fri, 2 Nov 2012 00:38:42 +0000 (11:38 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 7 Nov 2012 20:15:48 +0000 (14:15 -0600)
commitb6aff29f3af7437635ec3d66af9115bb17ba561f
tree11602d25191a123cdea00f18d9ea6c65518d7b74
parent4c05f9ad4d168098b7ce3ffa7098283f94811ed6
xfs: don't vmap inode cluster buffers during free

Inode buffers do not need to be mapped as inodes are read or written
directly from/to the pages underlying the buffer. This fixes a
regression introduced by commit 611c994 ("xfs: make XBF_MAPPED the
default behaviour").

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_inode.c