aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/xfs_buf_item.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-08-25 10:05:13 +1000
committerDave Chinner <david@fromorbit.com>2015-08-25 10:05:13 +1000
commitf79af0b9090895520c69fbe1939184c4f8ed8426 (patch)
tree0aa681a8284ae238dce7b5a158332ce055b42052 /fs/xfs/xfs_buf_item.h
parentxfs: collapse allocsize and biosize mount option handling (diff)
downloadwireguard-linux-f79af0b9090895520c69fbe1939184c4f8ed8426.tar.xz
wireguard-linux-f79af0b9090895520c69fbe1939184c4f8ed8426.zip
xfs: fix non-debug build warnings
There seem to be a couple of new set-but-unused build warnings that gcc 4.9.3 is now warning about. These are not regressions, just the compiler being more picky. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf_item.h')
-rw-r--r--fs/xfs/xfs_buf_item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.h b/fs/xfs/xfs_buf_item.h
index 3f3455a41510..f7eba99d19dd 100644
--- a/fs/xfs/xfs_buf_item.h
+++ b/fs/xfs/xfs_buf_item.h
@@ -61,7 +61,7 @@ typedef struct xfs_buf_log_item {
struct xfs_buf_log_format __bli_format; /* embedded in-log header */
} xfs_buf_log_item_t;
-void xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *);
+int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *);
void xfs_buf_item_relse(struct xfs_buf *);
void xfs_buf_item_log(xfs_buf_log_item_t *, uint, uint);
uint xfs_buf_item_dirty(xfs_buf_log_item_t *);