summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorRussell Cattelan <cattelan@sgi.com>2002-12-20 23:22:30 +0100
committerChristoph Hellwig <hch@sgi.com>2002-12-20 23:22:30 +0100
commitb33cc8f7e25b48d587e694da45bfa5ad35f443dd (patch)
treefda2d013b0a2226082217fc62ef935cd363e1855 /include/linux/buffer_head.h
parent3b1b949fa39745e4dae284ba01fa3a76649261ed (diff)
[XFS] "merge" the 2.4 fsx fix for block size < page size to 2.5. This needed
major changes to actually fit. SGI Modid: 2.5.x-xfs:slinx:132210a
Diffstat (limited to 'include/linux/buffer_head.h')
-rw-r--r--include/linux/buffer_head.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index e9d6251fa168..7fc917c13f32 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -22,6 +22,7 @@ enum bh_state_bits {
BH_New, /* Disk mapping was newly created by get_block */
BH_Async_Read, /* Is under end_buffer_async_read I/O */
BH_Async_Write, /* Is under end_buffer_async_write I/O */
+ BH_Delay, /* Buffer is not yet allocated on disk */
BH_Boundary, /* Block is followed by a discontiguity */
BH_PrivateStart,/* not a state bit, but the first bit available
@@ -105,6 +106,7 @@ BUFFER_FNS(Mapped, mapped)
BUFFER_FNS(New, new)
BUFFER_FNS(Async_Read, async_read)
BUFFER_FNS(Async_Write, async_write)
+BUFFER_FNS(Delay, delay);
BUFFER_FNS(Boundary, boundary)
#define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK)