commit | 680a647b49fa52de0b37b8bc58a3a8c4bc76b262 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jul 08 14:34:05 2011 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jul 08 14:34:05 2011 +0200 |
tree | a91fce973179b9e4d8ce77ca4f95fc8efca3255f | |
parent | 1316d4da3f632d5843d5a446203e73067dc40f09 [diff] |
xfs: PF_FSTRANS should never be set in ->writepage Now that we reject direct reclaim in addition to always using GFP_NOFS allocation there's no chance we'll ever end up in ->writepage with PF_FSTRANS set. Add a WARN_ON if we hit this case, and stop checking if we'd actually need to start a transaction. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>