xref: /linux/fs/jfs/jfs_inode.h (revision 4b6f5d20b04dcbc3d888555522b90ba6d36c4106)
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);
34fa3241d2SHerbert Poetzl extern void jfs_set_inode_flags(struct inode *);
351da177e4SLinus Torvalds 
361868f4aaSDave Kleikamp extern struct address_space_operations jfs_aops;
371868f4aaSDave Kleikamp extern struct inode_operations jfs_dir_inode_operations;
38*4b6f5d20SArjan van de Ven extern const struct file_operations jfs_dir_operations;
391868f4aaSDave Kleikamp extern struct inode_operations jfs_file_inode_operations;
40*4b6f5d20SArjan van de Ven extern const struct file_operations jfs_file_operations;
411868f4aaSDave Kleikamp extern struct inode_operations jfs_symlink_inode_operations;
421868f4aaSDave Kleikamp extern struct dentry_operations jfs_ci_dentry_operations;
431da177e4SLinus Torvalds #endif				/* _H_JFS_INODE */
44