[BACK]Return to discard-buffer-clear-uptodate CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / split-patches

File: [Development] / linux-2.6-xfs / split-patches / Attic / discard-buffer-clear-uptodate (download)

Revision 1.1, Thu Oct 6 14:57:59 2005 UTC (12 years ago) by sandeen
Branch: MAIN

patch for local change, clear uptodate in discard-buffer.  in mm series

--- 2.6.x-xfs.orig/fs/buffer.c	2005-10-06 09:52:20.000000000 -0500
+++ 2.6.x-xfs/fs/buffer.c	2005-09-14 15:53:52.000000000 -0500
@@ -1549,6 +1549,7 @@
 	lock_buffer(bh);
 	clear_buffer_dirty(bh);
 	bh->b_bdev = NULL;
+	clear_buffer_uptodate(bh);
 	clear_buffer_mapped(bh);
 	clear_buffer_req(bh);
 	clear_buffer_new(bh);