From: Darrick J. Wong Date: Thu, 30 Jan 2020 18:41:12 +0000 (-0500) Subject: libxfs: remove duplicate attr function declarations X-Git-Tag: v5.5.0-rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9435853441297969e974af00bde3ddff4a451d;p=thirdparty%2Fxfsprogs-dev.git libxfs: remove duplicate attr function declarations Remove these function declarations since they're in libxfs/xfs_attr.h and are therefore redundant. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/libxfs/libxfs_priv.h b/libxfs/libxfs_priv.h index 03edf0d3e..fe08f96bf 100644 --- a/libxfs/libxfs_priv.h +++ b/libxfs/libxfs_priv.h @@ -607,14 +607,6 @@ static inline int test_and_set_bit(int nr, volatile unsigned long *addr) } /* Keep static checkers quiet about nonstatic functions by exporting */ -int xfs_inode_hasattr(struct xfs_inode *ip); -int xfs_attr_get_ilocked(struct xfs_inode *ip, struct xfs_da_args *args); -int xfs_attr_get(struct xfs_inode *ip, const unsigned char *name, - unsigned char **value, int *valuelenp, int flags); -int xfs_attr_set(struct xfs_inode *dp, const unsigned char *name, - unsigned char *value, int valuelen, int flags); -int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); - int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp, xfs_rtblock_t block, int issum, struct xfs_buf **bpp); int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp,