summaryrefslogtreecommitdiff
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-07-08 12:34:05 (GMT)
committerChristoph Hellwig <hch@lst.de>2011-07-08 12:34:05 (GMT)
commit680a647b49fa52de0b37b8bc58a3a8c4bc76b262 (patch)
treea91fce973179b9e4d8ce77ca4f95fc8efca3255f /fs/char_dev.c
parent1316d4da3f632d5843d5a446203e73067dc40f09 (diff)
downloadlinux-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/char_dev.c')
0 files changed, 0 insertions, 0 deletions