diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:05:43 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:05:43 -0400 |
commit | bda65ef8a8ab8944628b7ff1182902612efd8bc3 (patch) | |
tree | 859c68dcf137008527dac3592195e073ebbdd60d | |
parent | fd9fdba6c366f6a1606572e46eebf770462ff484 (diff) |
xfs: remove unused xfs_mount arg from xfs_symlink_hdr_ok()
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r-- | fs/xfs/xfs_shared.h | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_symlink.c | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_symlink_remote.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_shared.h b/fs/xfs/xfs_shared.h index 4484e5151395..82404da2ca67 100644 --- a/fs/xfs/xfs_shared.h +++ b/fs/xfs/xfs_shared.h | |||
@@ -238,7 +238,7 @@ int xfs_log_calc_minimum_size(struct xfs_mount *); | |||
238 | int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen); | 238 | int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen); |
239 | int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset, | 239 | int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset, |
240 | uint32_t size, struct xfs_buf *bp); | 240 | uint32_t size, struct xfs_buf *bp); |
241 | bool xfs_symlink_hdr_ok(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset, | 241 | bool xfs_symlink_hdr_ok(xfs_ino_t ino, uint32_t offset, |
242 | uint32_t size, struct xfs_buf *bp); | 242 | uint32_t size, struct xfs_buf *bp); |
243 | void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp, | 243 | void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp, |
244 | struct xfs_inode *ip, struct xfs_ifork *ifp); | 244 | struct xfs_inode *ip, struct xfs_ifork *ifp); |
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index 52979aa90986..0816b4018dfc 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c | |||
@@ -92,7 +92,7 @@ xfs_readlink_bmap( | |||
92 | 92 | ||
93 | cur_chunk = bp->b_addr; | 93 | cur_chunk = bp->b_addr; |
94 | if (xfs_sb_version_hascrc(&mp->m_sb)) { | 94 | if (xfs_sb_version_hascrc(&mp->m_sb)) { |
95 | if (!xfs_symlink_hdr_ok(mp, ip->i_ino, offset, | 95 | if (!xfs_symlink_hdr_ok(ip->i_ino, offset, |
96 | byte_cnt, bp)) { | 96 | byte_cnt, bp)) { |
97 | error = EFSCORRUPTED; | 97 | error = EFSCORRUPTED; |
98 | xfs_alert(mp, | 98 | xfs_alert(mp, |
diff --git a/fs/xfs/xfs_symlink_remote.c b/fs/xfs/xfs_symlink_remote.c index 9b32052ff65e..23c2f2577c8d 100644 --- a/fs/xfs/xfs_symlink_remote.c +++ b/fs/xfs/xfs_symlink_remote.c | |||
@@ -80,7 +80,6 @@ xfs_symlink_hdr_set( | |||
80 | */ | 80 | */ |
81 | bool | 81 | bool |
82 | xfs_symlink_hdr_ok( | 82 | xfs_symlink_hdr_ok( |
83 | struct xfs_mount *mp, | ||
84 | xfs_ino_t ino, | 83 | xfs_ino_t ino, |
85 | uint32_t offset, | 84 | uint32_t offset, |
86 | uint32_t size, | 85 | uint32_t size, |