]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
xfs: mark xfs_eof_alignment static
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Oct 2019 19:24:57 +0000 (12:24 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Nov 2019 18:22:30 +0000 (10:22 -0800)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h

index edb2be9e81955cd8aa8217efd1ccba76d429cdfd..e01010af5c0aa8dfed462fa11991a336cddcb4fb 100644 (file)
@@ -116,7 +116,7 @@ xfs_iomap_end_fsb(
                   XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes));
 }
 
-xfs_extlen_t
+static xfs_extlen_t
 xfs_eof_alignment(
        struct xfs_inode        *ip,
        xfs_extlen_t            extsize)
index 7aed28275089f448cd446e7ec5496b80aa9e10a3..d5b292bdaf82fec106a51c6b1f120c470d30696f 100644 (file)
@@ -17,7 +17,6 @@ int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool);
 
 int xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
                struct xfs_bmbt_irec *, u16);
-xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
 
 static inline xfs_filblks_t
 xfs_aligned_fsb_count(