diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-24 03:44:35 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 20:16:42 +0200 |
commit | f2bde9b89b4d67c9bc3b963cb996f449ddcd27a4 (patch) | |
tree | 3f5ce631c4f0057776bdf38fcde1b34b359f3376 /fs/xfs/xfs_iomap.c | |
parent | xfs: reduce stack usage in xfs_iomap (diff) | |
download | linux-f2bde9b89b4d67c9bc3b963cb996f449ddcd27a4.tar.xz linux-f2bde9b89b4d67c9bc3b963cb996f449ddcd27a4.zip |
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.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index a0dbcaff911a..20576146369f 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -133,7 +133,7 @@ xfs_iomap( break; } - if (flags & (BMAPI_DIRECT|BMAPI_MMAP)) { + if (flags & BMAPI_DIRECT) { error = xfs_iomap_write_direct(ip, offset, count, flags, imap, nimaps); } else { |