aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icreate_item.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_icreate_item.c')
-rw-r--r--fs/xfs/xfs_icreate_item.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/fs/xfs/xfs_icreate_item.c b/fs/xfs/xfs_icreate_item.c
index 7716a4e7375e..5a5a593994d4 100644
--- a/fs/xfs/xfs_icreate_item.c
+++ b/fs/xfs/xfs_icreate_item.c
@@ -20,23 +20,11 @@
20#include "xfs_types.h" 20#include "xfs_types.h"
21#include "xfs_bit.h" 21#include "xfs_bit.h"
22#include "xfs_log.h" 22#include "xfs_log.h"
23#include "xfs_inum.h"
24#include "xfs_trans.h" 23#include "xfs_trans.h"
25#include "xfs_buf_item.h"
26#include "xfs_sb.h" 24#include "xfs_sb.h"
27#include "xfs_ag.h" 25#include "xfs_ag.h"
28#include "xfs_dir2.h"
29#include "xfs_mount.h" 26#include "xfs_mount.h"
30#include "xfs_trans_priv.h" 27#include "xfs_trans_priv.h"
31#include "xfs_bmap_btree.h"
32#include "xfs_alloc_btree.h"
33#include "xfs_ialloc_btree.h"
34#include "xfs_attr_sf.h"
35#include "xfs_dinode.h"
36#include "xfs_inode.h"
37#include "xfs_inode_item.h"
38#include "xfs_btree.h"
39#include "xfs_ialloc.h"
40#include "xfs_error.h" 28#include "xfs_error.h"
41#include "xfs_icreate_item.h" 29#include "xfs_icreate_item.h"
42 30
@@ -52,11 +40,14 @@ static inline struct xfs_icreate_item *ICR_ITEM(struct xfs_log_item *lip)
52 * 40 *
53 * We only need one iovec for the icreate log structure. 41 * We only need one iovec for the icreate log structure.
54 */ 42 */
55STATIC uint 43STATIC void
56xfs_icreate_item_size( 44xfs_icreate_item_size(
57 struct xfs_log_item *lip) 45 struct xfs_log_item *lip,
46 int *nvecs,
47 int *nbytes)
58{ 48{
59 return 1; 49 *nvecs += 1;
50 *nbytes += sizeof(struct xfs_icreate_log);
60} 51}
61 52
62/* 53/*