xref: /linux/fs/jfs/jfs_inode.h (revision 3e2221c73cba7d33fd5706f9bc4906ffaf421478)
11da177e4SLinus Torvalds /*
21868f4aaSDave Kleikamp  *   Copyright (C) International Business Machines Corp., 2000-2001
31da177e4SLinus Torvalds  *
41da177e4SLinus Torvalds  *   This program is free software;  you can redistribute it and/or modify
51da177e4SLinus Torvalds  *   it under the terms of the GNU General Public License as published by
61da177e4SLinus Torvalds  *   the Free Software Foundation; either version 2 of the License, or
71da177e4SLinus Torvalds  *   (at your option) any later version.
81da177e4SLinus Torvalds  *
91da177e4SLinus Torvalds  *   This program is distributed in the hope that it will be useful,
101da177e4SLinus Torvalds  *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
111da177e4SLinus Torvalds  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
121da177e4SLinus Torvalds  *   the GNU General Public License for more details.
131da177e4SLinus Torvalds  *
141da177e4SLinus Torvalds  *   You should have received a copy of the GNU General Public License
151da177e4SLinus Torvalds  *   along with this program;  if not, write to the Free Software
161da177e4SLinus Torvalds  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
171da177e4SLinus Torvalds  */
181da177e4SLinus Torvalds #ifndef	_H_JFS_INODE
191da177e4SLinus Torvalds #define _H_JFS_INODE
201da177e4SLinus Torvalds 
211da177e4SLinus Torvalds extern struct inode *ialloc(struct inode *, umode_t);
221868f4aaSDave Kleikamp extern int jfs_fsync(struct file *, struct dentry *, int);
23fa3241d2SHerbert Poetzl extern int jfs_ioctl(struct inode *, struct file *,
24fa3241d2SHerbert Poetzl 			unsigned int, unsigned long);
251868f4aaSDave Kleikamp extern void jfs_read_inode(struct inode *);
261868f4aaSDave Kleikamp extern int jfs_commit_inode(struct inode *, int);
271868f4aaSDave Kleikamp extern int jfs_write_inode(struct inode*, int);
281868f4aaSDave Kleikamp extern void jfs_delete_inode(struct inode *);
291868f4aaSDave Kleikamp extern void jfs_dirty_inode(struct inode *);
301868f4aaSDave Kleikamp extern void jfs_truncate(struct inode *);
311868f4aaSDave Kleikamp extern void jfs_truncate_nolock(struct inode *, loff_t);
321868f4aaSDave Kleikamp extern void jfs_free_zero_link(struct inode *);
331868f4aaSDave Kleikamp extern struct dentry *jfs_get_parent(struct dentry *dentry);
34*3e2221c7SDave Kleikamp extern void jfs_get_inode_flags(struct jfs_inode_info *);
35fa3241d2SHerbert Poetzl extern void jfs_set_inode_flags(struct inode *);
36115ff50bSDave Kleikamp extern int jfs_get_block(struct inode *, sector_t, struct buffer_head *, int);
371da177e4SLinus Torvalds 
38f5e54d6eSChristoph Hellwig extern const struct address_space_operations jfs_aops;
3992e1d5beSArjan van de Ven extern const struct inode_operations jfs_dir_inode_operations;
404b6f5d20SArjan van de Ven extern const struct file_operations jfs_dir_operations;
4192e1d5beSArjan van de Ven extern const struct inode_operations jfs_file_inode_operations;
424b6f5d20SArjan van de Ven extern const struct file_operations jfs_file_operations;
4392e1d5beSArjan van de Ven extern const struct inode_operations jfs_symlink_inode_operations;
441868f4aaSDave Kleikamp extern struct dentry_operations jfs_ci_dentry_operations;
451da177e4SLinus Torvalds #endif				/* _H_JFS_INODE */
46