Files
android_kernel_xiaomi_sm8450/fs/xfs/linux-2.6
Christoph Hellwig 20cb52ebd1 xfs: simplify xfs_vm_writepage
The writepage implementation in XFS still tries to deal with dirty but
unmapped buffers which used to caused by writes through shared mmaps.  Since
the introduction of ->page_mkwrite these can't happen anymore, so remove the
code dealing with them.

Note that the all_bh variable which causes us to start I/O on all buffers on
the pages was controlled by the count of unmapped buffers, which also
included those not actually dirty.  It's now unconditionally initialized to
0 but set to 1 for the case of small file size extensions.  It probably can
be removed entirely, but that's left for another patch.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2010-07-26 13:16:41 -05:00
..
2008-04-29 15:54:02 +10:00
2008-12-04 15:39:21 +11:00
2010-05-21 18:31:19 -04:00
2010-07-26 13:16:41 -05:00
2010-07-26 13:16:41 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2008-12-29 16:47:18 +11:00
2010-07-26 13:16:33 -05:00
2007-10-22 08:13:20 -07:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2009-09-15 12:29:24 -05:00
2008-10-30 16:55:03 +11:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:41 -05:00
2009-12-14 23:08:16 -06:00
2010-05-21 18:31:19 -04:00