From: Christoph Hellwig Date: Fri, 8 Jul 2011 12:34:05 +0000 (+0200) Subject: xfs: PF_FSTRANS should never be set in ->writepage X-Git-Tag: v3.1-rc1~322^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680a647b49fa52de0b37b8bc58a3a8c4bc76b262;p=pandora-kernel.git 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 Reviewed-by: Alex Elder Reviewed-by: Dave Chinner --- Reading git-diff-tree failed