patch-2.3.48 linux/include/linux/hfs_fs.h

Next file: linux/include/linux/ide.h
Previous file: linux/include/linux/hdreg.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/linux/hfs_fs.h linux/include/linux/hfs_fs.h
@@ -234,8 +234,6 @@
 					 const struct hfs_cat_key *);
 
 /* dir.c */
-extern hfs_rwret_t hfs_dir_read(struct file *, char *, hfs_rwarg_t,
-				loff_t *);
 extern int hfs_create(struct inode *, struct dentry *, int);
 extern int hfs_mkdir(struct inode *, struct dentry *, int);
 extern int hfs_unlink(struct inode *, struct dentry *);
@@ -249,12 +247,14 @@
 extern struct inode_operations hfs_cap_ndir_inode_operations;
 extern struct inode_operations hfs_cap_fdir_inode_operations;
 extern struct inode_operations hfs_cap_rdir_inode_operations;
+extern struct file_operations hfs_cap_dir_operations;
 extern void hfs_cap_drop_dentry(struct dentry *, const ino_t);
 
 /* dir_dbl.c */
 extern const struct hfs_name hfs_dbl_reserved1[];
 extern const struct hfs_name hfs_dbl_reserved2[];
 extern struct inode_operations hfs_dbl_dir_inode_operations;
+extern struct file_operations hfs_dbl_dir_operations;
 extern void hfs_dbl_drop_dentry(struct dentry *, const ino_t);
 
 /* dir_nat.c */
@@ -262,13 +262,9 @@
 extern const struct hfs_name hfs_nat_reserved2[];
 extern struct inode_operations hfs_nat_ndir_inode_operations;
 extern struct inode_operations hfs_nat_hdir_inode_operations;
+extern struct file_operations hfs_nat_dir_operations;
 extern void hfs_nat_drop_dentry(struct dentry *, const ino_t);
 
-/* dir_sngl.c */
-extern const struct hfs_name hfs_sngl_reserved1[];
-extern const struct hfs_name hfs_sngl_reserved2[];
-extern struct inode_operations hfs_sngl_dir_inode_operations;
-
 /* file.c */
 extern hfs_s32 hfs_do_read(struct inode *, struct hfs_fork *, hfs_u32,
 			   char *, hfs_u32, int);
@@ -276,21 +272,27 @@
 			    const char *, hfs_u32);
 extern void hfs_file_fix_mode(struct hfs_cat_entry *entry);
 extern struct inode_operations hfs_file_inode_operations;
+extern struct file_operations hfs_file_operations;
 
 /* file_cap.c */
 extern struct inode_operations hfs_cap_info_inode_operations;
+extern struct file_operations hfs_cap_info_operations;
 
 /* file_hdr.c */
 extern struct inode_operations hfs_hdr_inode_operations;
+extern struct file_operations hfs_hdr_operations;
 extern const struct hfs_hdr_layout hfs_dbl_fil_hdr_layout;
 extern const struct hfs_hdr_layout hfs_dbl_dir_hdr_layout;
 extern const struct hfs_hdr_layout hfs_nat_hdr_layout;
 extern const struct hfs_hdr_layout hfs_nat2_hdr_layout;
 extern const struct hfs_hdr_layout hfs_sngl_hdr_layout;
+extern void hdr_truncate(struct inode *,size_t);
 
 /* inode.c */
 extern void hfs_put_inode(struct inode *);
 extern int hfs_notify_change(struct dentry *, struct iattr *);
+extern int hfs_notify_change_cap(struct dentry *, struct iattr *);
+extern int hfs_notify_change_hdr(struct dentry *, struct iattr *);
 extern struct inode *hfs_iget(struct hfs_cat_entry *, ino_t, struct dentry *);
 
 extern void hfs_cap_ifill(struct inode *, ino_t, const int);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)