Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (c) 2008-2010, Dave Chinner
0004  * All Rights Reserved.
0005  */
0006 #ifndef XFS_ICREATE_ITEM_H
0007 #define XFS_ICREATE_ITEM_H  1
0008 
0009 /* in memory log item structure */
0010 struct xfs_icreate_item {
0011     struct xfs_log_item ic_item;
0012     struct xfs_icreate_log  ic_format;
0013 };
0014 
0015 extern struct kmem_cache *xfs_icreate_cache;    /* inode create item */
0016 
0017 void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
0018             xfs_agblock_t agbno, unsigned int count,
0019             unsigned int inode_size, xfs_agblock_t length,
0020             unsigned int generation);
0021 
0022 #endif  /* XFS_ICREATE_ITEM_H */