]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xfs: remove unused xfs_mount arg from xfs_symlink_hdr_ok()
authorEric Sandeen <sandeen@redhat.com>
Mon, 14 Apr 2014 09:05:43 +0000 (19:05 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Apr 2014 09:05:43 +0000 (19:05 +1000)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_shared.h
fs/xfs/xfs_symlink.c
fs/xfs/xfs_symlink_remote.c

index 4484e515139507fe9e69912da6eb9df6c50e7402..82404da2ca6747c010a4c666132ebede1c9c7f90 100644 (file)
@@ -238,7 +238,7 @@ int xfs_log_calc_minimum_size(struct xfs_mount *);
 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
 int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset,
                        uint32_t size, struct xfs_buf *bp);
-bool xfs_symlink_hdr_ok(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset,
+bool xfs_symlink_hdr_ok(xfs_ino_t ino, uint32_t offset,
                        uint32_t size, struct xfs_buf *bp);
 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
                                 struct xfs_inode *ip, struct xfs_ifork *ifp);
index 52979aa90986ca3a1a6caada967a460567245265..0816b4018dfcd73ae5fdabafe5f9dc4bfaef44f3 100644 (file)
@@ -92,7 +92,7 @@ xfs_readlink_bmap(
 
                cur_chunk = bp->b_addr;
                if (xfs_sb_version_hascrc(&mp->m_sb)) {
-                       if (!xfs_symlink_hdr_ok(mp, ip->i_ino, offset,
+                       if (!xfs_symlink_hdr_ok(ip->i_ino, offset,
                                                        byte_cnt, bp)) {
                                error = EFSCORRUPTED;
                                xfs_alert(mp,
index 9b32052ff65e771c55814afa8dcb26a8d2f0e42c..23c2f2577c8d75fdd85660cb0aac0524318cd384 100644 (file)
@@ -80,7 +80,6 @@ xfs_symlink_hdr_set(
  */
 bool
 xfs_symlink_hdr_ok(
-       struct xfs_mount        *mp,
        xfs_ino_t               ino,
        uint32_t                offset,
        uint32_t                size,