diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 354d68a32d4a..52bd08c0a278 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -402,10 +402,9 @@ xfs_start_page_writeback( | |||
402 | clear_page_dirty_for_io(page); | 402 | clear_page_dirty_for_io(page); |
403 | set_page_writeback(page); | 403 | set_page_writeback(page); |
404 | unlock_page(page); | 404 | unlock_page(page); |
405 | if (!buffers) { | 405 | /* If no buffers on the page are to be written, finish it here */ |
406 | if (!buffers) | ||
406 | end_page_writeback(page); | 407 | end_page_writeback(page); |
407 | wbc->pages_skipped++; /* We didn't write this page */ | ||
408 | } | ||
409 | } | 408 | } |
410 | 409 | ||
411 | static inline int bio_add_buffer(struct bio *bio, struct buffer_head *bh) | 410 | static inline int bio_add_buffer(struct bio *bio, struct buffer_head *bh) |