patch-2.2.0-pre4 linux/include/linux/fs.h
Next file: linux/include/linux/pci.h
Previous file: linux/fs/proc/procfs_syms.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sat Jan 2 19:09:50 1999
- Orig file:
v2.2.0-pre3/linux/include/linux/fs.h
- Orig date:
Fri Jan 1 12:58:21 1999
diff -u --recursive --new-file v2.2.0-pre3/linux/include/linux/fs.h linux/include/linux/fs.h
@@ -254,10 +254,15 @@
/*
* Deprecated - we don't keep per-buffer reference flags
* any more.
+ *
+ * We _could_ try to update the page reference, but that
+ * doesn't seem to really be worth it either. If we did,
+ * it would look something like this:
+ *
+ * #define buffer_page(bh) (mem_map + MAP_NR((bh)->b_data))
+ * #define touch_buffer(bh) set_bit(PG_referenced, &buffer_page(bh)->flags)
*/
-#define buffer_page(bh) (mem_map + MAP_NR((bh)->b_data))
-#define buffer_touched(bh) (PageReferenced(buffer_page(bh)))
-#define touch_buffer(bh) set_bit(PG_referenced, buffer_page(bh))
+#define touch_buffer(bh) do { } while (0)
#include <linux/pipe_fs_i.h>
#include <linux/minix_fs_i.h>
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]