diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-11-28 14:57:42 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-28 14:57:42 +1100 |
commit | 1247ec4c5f6e64b3cf01af58173820cdc61f11ed (patch) | |
tree | 9b73317a71c6ae3d918acaa50f600499261edb07 /fs/xfs/xfs_buf.h | |
parent | 0e8d630ba039d9976d250eedb82c3a423ad15447 (diff) | |
download | lwn-1247ec4c5f6e64b3cf01af58173820cdc61f11ed.tar.gz lwn-1247ec4c5f6e64b3cf01af58173820cdc61f11ed.zip |
xfs: add XBF_XBF_NO_IOACCT to buf trace output
When XBF_NO_IOACCT got added, it missed the translation
in XFS_BUF_FLAGS, so we see "0x8" in trace output rather
than the flag name. Fix it.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 1c2e52b2d926..38c9a95bda7d 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -71,6 +71,7 @@ typedef unsigned int xfs_buf_flags_t; { XBF_READ, "READ" }, \ { XBF_WRITE, "WRITE" }, \ { XBF_READ_AHEAD, "READ_AHEAD" }, \ + { XBF_NO_IOACCT, "NO_IOACCT" }, \ { XBF_ASYNC, "ASYNC" }, \ { XBF_DONE, "DONE" }, \ { XBF_STALE, "STALE" }, \ |