diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-23 21:44:35 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 14:16:42 -0400 |
commit | f2bde9b89b4d67c9bc3b963cb996f449ddcd27a4 (patch) | |
tree | 3f5ce631c4f0057776bdf38fcde1b34b359f3376 /fs/xfs/xfs_iomap.h | |
parent | 3070451eea1ed8e3bde0573183c7d8ac25fd5e97 (diff) |
xfs: small cleanups for xfs_iomap / __xfs_get_blocks
Remove the flags argument to __xfs_get_blocks as we can easily derive
it from the direct argument, and remove the unused BMAPI_MMAP flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_iomap.h')
-rw-r--r-- | fs/xfs/xfs_iomap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.h b/fs/xfs/xfs_iomap.h index 81ac4afd45b3..2cea2daf01ca 100644 --- a/fs/xfs/xfs_iomap.h +++ b/fs/xfs/xfs_iomap.h | |||
@@ -26,7 +26,6 @@ typedef enum { | |||
26 | /* modifiers */ | 26 | /* modifiers */ |
27 | BMAPI_IGNSTATE = (1 << 4), /* ignore unwritten state on read */ | 27 | BMAPI_IGNSTATE = (1 << 4), /* ignore unwritten state on read */ |
28 | BMAPI_DIRECT = (1 << 5), /* direct instead of buffered write */ | 28 | BMAPI_DIRECT = (1 << 5), /* direct instead of buffered write */ |
29 | BMAPI_MMAP = (1 << 6), /* allocate for mmap write */ | ||
30 | BMAPI_TRYLOCK = (1 << 7), /* non-blocking request */ | 29 | BMAPI_TRYLOCK = (1 << 7), /* non-blocking request */ |
31 | } bmapi_flags_t; | 30 | } bmapi_flags_t; |
32 | 31 | ||
@@ -36,7 +35,6 @@ typedef enum { | |||
36 | { BMAPI_ALLOCATE, "ALLOCATE" }, \ | 35 | { BMAPI_ALLOCATE, "ALLOCATE" }, \ |
37 | { BMAPI_IGNSTATE, "IGNSTATE" }, \ | 36 | { BMAPI_IGNSTATE, "IGNSTATE" }, \ |
38 | { BMAPI_DIRECT, "DIRECT" }, \ | 37 | { BMAPI_DIRECT, "DIRECT" }, \ |
39 | { BMAPI_MMAP, "MMAP" }, \ | ||
40 | { BMAPI_TRYLOCK, "TRYLOCK" } | 38 | { BMAPI_TRYLOCK, "TRYLOCK" } |
41 | 39 | ||
42 | struct xfs_inode; | 40 | struct xfs_inode; |