make xfs_attr_set_int_trans non static so we can use it outside of xfs_attr.c
(Needed to use it in vnodeops.c, for create+EA)
Signed-off-by: Niv Sardi <xaiki@xxxxxxx>
---
fs/xfs/xfs_attr.c | 2 +-
fs/xfs/xfs_attr.h | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/xfs_attr.c b/fs/xfs/xfs_attr.c
index 8e9598d..24ba91d 100644
--- a/fs/xfs/xfs_attr.c
+++ b/fs/xfs/xfs_attr.c
@@ -241,7 +241,7 @@ xfs_attr_calc_size(
* we can't commit it either as we don't know if the caller is
* done with it.
*/
-STATIC int
+int
xfs_attr_set_int_trans(
xfs_trans_t **tpp,
xfs_inode_t *dp,
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h
index f99395c..32e80f9 100644
--- a/fs/xfs/xfs_attr.h
+++ b/fs/xfs/xfs_attr.h
@@ -161,6 +161,9 @@ struct xfs_da_args;
int xfs_attr_calc_size(struct xfs_inode *, int, int, int *);
int xfs_attr_inactive(struct xfs_inode *dp);
+int xfs_attr_set_int_trans(struct xfs_trans **, struct xfs_inode *,
+ struct xfs_name *, char *, int, int);
+
int xfs_attr_shortform_getvalue(struct xfs_da_args *);
int xfs_attr_fetch(struct xfs_inode *, struct xfs_name *, char *, int *, int);
int xfs_attr_rmtval_get(struct xfs_da_args *args);
--
1.5.6.2
|