nilfs.h (bcbc8c648d6cc88f771435d8031c1a13e00945ed) nilfs.h (365e215ce1f154e288ff0f7c9acbdf5421f57949)
1/*
2 * nilfs.h - NILFS local header file.
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 176 unchanged lines hidden (view full) ---

185 return nilfs_test_transaction_flag(NILFS_TI_GC);
186}
187
188static inline int nilfs_doing_construction(void)
189{
190 return nilfs_test_transaction_flag(NILFS_TI_WRITER);
191}
192
1/*
2 * nilfs.h - NILFS local header file.
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 176 unchanged lines hidden (view full) ---

185 return nilfs_test_transaction_flag(NILFS_TI_GC);
186}
187
188static inline int nilfs_doing_construction(void)
189{
190 return nilfs_test_transaction_flag(NILFS_TI_WRITER);
191}
192
193static inline struct inode *nilfs_dat_inode(const struct the_nilfs *nilfs)
194{
195 return nilfs->ns_dat;
196}
197
198/*
199 * function prototype
200 */
201#ifdef CONFIG_NILFS_POSIX_ACL
202#error "NILFS: not yet supported POSIX ACL"
203extern int nilfs_acl_chmod(struct inode *);
204extern int nilfs_init_acl(struct inode *, struct inode *);
205#else

--- 112 unchanged lines hidden ---
193/*
194 * function prototype
195 */
196#ifdef CONFIG_NILFS_POSIX_ACL
197#error "NILFS: not yet supported POSIX ACL"
198extern int nilfs_acl_chmod(struct inode *);
199extern int nilfs_init_acl(struct inode *, struct inode *);
200#else

--- 112 unchanged lines hidden ---