summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:19:58 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:19:58 -0800
commit98b8803038fa999212c37952adad1e04144f0ab7 (patch)
tree6d416e4eb4a83a7851b48bdf450910b4cf25b56a /include/linux
parenta356c406f36e65105272b1a9127c0098a113511c (diff)
v2.4.10.0.4 -> v2.4.10.1
- Chris Mason: fix ppp race conditions - Al Viro: block device cleanups/fixes - Anton Altaparmakov: NTFS 1.1.20 update - Andrea Arcangeli: VM tweaks
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e3d84a78ea79..9d04f9af4908 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1087,6 +1087,11 @@ extern void end_buffer_io_sync(struct buffer_head *bh, int uptodate);
/* reiserfs_writepage needs this */
extern void set_buffer_async_io(struct buffer_head *bh) ;
+#define BUF_CLEAN 0
+#define BUF_LOCKED 1 /* Buffers scheduled for write */
+#define BUF_DIRTY 2 /* Dirty buffers, not yet scheduled for write */
+#define NR_LIST 3
+
static inline void get_bh(struct buffer_head * bh)
{
atomic_inc(&(bh)->b_count);