diff options
author | Christoph Hellwig <hch@lst.de> | 2016-08-16 22:44:52 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-16 22:44:52 (GMT) |
commit | b95a21271b30544a9fb992269d79ed1e1978e023 (patch) | |
tree | f588bd7b73544d470b4f23389f36c1de5889cce1 /fs/xfs/xfs_trace.h | |
parent | f20ac7ab17fcf7046bd9bc4166faf9580f713afd (diff) | |
download | linux-b95a21271b30544a9fb992269d79ed1e1978e023.tar.xz |
xfs: simplify xfs_file_iomap_begin
We'll never get nimap == 0 for a successful return from xfs_bmapi_read,
so don't try to handle it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index 551b7e2..7e88bec 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -1298,7 +1298,6 @@ DEFINE_IOMAP_EVENT(xfs_get_blocks_alloc); DEFINE_IOMAP_EVENT(xfs_get_blocks_map_direct); DEFINE_IOMAP_EVENT(xfs_iomap_alloc); DEFINE_IOMAP_EVENT(xfs_iomap_found); -DEFINE_IOMAP_EVENT(xfs_iomap_not_found); DECLARE_EVENT_CLASS(xfs_simple_io_class, TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count), |