xfs_icreate_item.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2008-2010, Dave Chinner
  3. * All Rights Reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it would be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write the Free Software Foundation,
  16. * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef XFS_ICREATE_ITEM_H
  19. #define XFS_ICREATE_ITEM_H 1
  20. /* in memory log item structure */
  21. struct xfs_icreate_item {
  22. struct xfs_log_item ic_item;
  23. struct xfs_icreate_log ic_format;
  24. };
  25. extern kmem_zone_t *xfs_icreate_zone; /* inode create item zone */
  26. void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
  27. xfs_agblock_t agbno, unsigned int count,
  28. unsigned int inode_size, xfs_agblock_t length,
  29. unsigned int generation);
  30. #endif /* XFS_ICREATE_ITEM_H */