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>
Thu, 8 Nov 2012 17:10:18 +0000 (11:10 -0600)
commit4b62acfe99e158fb7812982d1cf90a075710a92c
tree110257a9ec56399668b7f4962a8fdb12782b7890
parentca250b1b3d711936d7dae9e97871f2261347f82d
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