diff options
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 846dee3d8dac..7f1d1392ce37 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h | |||
@@ -41,7 +41,6 @@ typedef enum { | |||
41 | #define XBF_READ (1 << 0) /* buffer intended for reading from device */ | 41 | #define XBF_READ (1 << 0) /* buffer intended for reading from device */ |
42 | #define XBF_WRITE (1 << 1) /* buffer intended for writing to device */ | 42 | #define XBF_WRITE (1 << 1) /* buffer intended for writing to device */ |
43 | #define XBF_READ_AHEAD (1 << 2) /* asynchronous read-ahead */ | 43 | #define XBF_READ_AHEAD (1 << 2) /* asynchronous read-ahead */ |
44 | #define XBF_MAPPED (1 << 3) /* buffer mapped (b_addr valid) */ | ||
45 | #define XBF_ASYNC (1 << 4) /* initiator will not wait for completion */ | 44 | #define XBF_ASYNC (1 << 4) /* initiator will not wait for completion */ |
46 | #define XBF_DONE (1 << 5) /* all pages in the buffer uptodate */ | 45 | #define XBF_DONE (1 << 5) /* all pages in the buffer uptodate */ |
47 | #define XBF_STALE (1 << 6) /* buffer has been staled, do not find it */ | 46 | #define XBF_STALE (1 << 6) /* buffer has been staled, do not find it */ |
@@ -53,6 +52,7 @@ typedef enum { | |||
53 | 52 | ||
54 | /* flags used only as arguments to access routines */ | 53 | /* flags used only as arguments to access routines */ |
55 | #define XBF_TRYLOCK (1 << 16)/* lock requested, but do not wait */ | 54 | #define XBF_TRYLOCK (1 << 16)/* lock requested, but do not wait */ |
55 | #define XBF_UNMAPPED (1 << 17)/* do not map the buffer */ | ||
56 | 56 | ||
57 | /* flags used only internally */ | 57 | /* flags used only internally */ |
58 | #define _XBF_PAGES (1 << 20)/* backed by refcounted pages */ | 58 | #define _XBF_PAGES (1 << 20)/* backed by refcounted pages */ |
@@ -65,7 +65,6 @@ typedef unsigned int xfs_buf_flags_t; | |||
65 | { XBF_READ, "READ" }, \ | 65 | { XBF_READ, "READ" }, \ |
66 | { XBF_WRITE, "WRITE" }, \ | 66 | { XBF_WRITE, "WRITE" }, \ |
67 | { XBF_READ_AHEAD, "READ_AHEAD" }, \ | 67 | { XBF_READ_AHEAD, "READ_AHEAD" }, \ |
68 | { XBF_MAPPED, "MAPPED" }, \ | ||
69 | { XBF_ASYNC, "ASYNC" }, \ | 68 | { XBF_ASYNC, "ASYNC" }, \ |
70 | { XBF_DONE, "DONE" }, \ | 69 | { XBF_DONE, "DONE" }, \ |
71 | { XBF_STALE, "STALE" }, \ | 70 | { XBF_STALE, "STALE" }, \ |
@@ -73,6 +72,7 @@ typedef unsigned int xfs_buf_flags_t; | |||
73 | { XBF_FUA, "FUA" }, \ | 72 | { XBF_FUA, "FUA" }, \ |
74 | { XBF_FLUSH, "FLUSH" }, \ | 73 | { XBF_FLUSH, "FLUSH" }, \ |
75 | { XBF_TRYLOCK, "TRYLOCK" }, /* should never be set */\ | 74 | { XBF_TRYLOCK, "TRYLOCK" }, /* should never be set */\ |
75 | { XBF_UNMAPPED, "UNMAPPED" }, /* ditto */\ | ||
76 | { _XBF_PAGES, "PAGES" }, \ | 76 | { _XBF_PAGES, "PAGES" }, \ |
77 | { _XBF_KMEM, "KMEM" }, \ | 77 | { _XBF_KMEM, "KMEM" }, \ |
78 | { _XBF_DELWRI_Q, "DELWRI_Q" } | 78 | { _XBF_DELWRI_Q, "DELWRI_Q" } |