diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:05 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-08 12:34:05 (GMT) |
commit | 680a647b49fa52de0b37b8bc58a3a8c4bc76b262 (patch) | |
tree | a91fce973179b9e4d8ce77ca4f95fc8efca3255f /fs/xfs/xfs_bit.h | |
parent | 1316d4da3f632d5843d5a446203e73067dc40f09 (diff) | |
download | linux-fsl-qoriq-680a647b49fa52de0b37b8bc58a3a8c4bc76b262.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_bit.h')
0 files changed, 0 insertions, 0 deletions