X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhfs%2Fhfs_fs.h;h=ecf33d875c31169e9730e107f6537de50d656f1e;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=33876db2230eade287f4cf15dfd6f55c53b1cbbb;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index 33876db22..ecf33d875 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h @@ -90,7 +90,7 @@ struct hfs_sb_info { struct buffer_head *alt_mdb_bh; /* The hfs_buffer holding the alternate superblock */ struct hfs_mdb *alt_mdb; - u32 *bitmap; /* The page holding the + __be32 *bitmap; /* The page holding the allocation bitmap */ struct hfs_btree *ext_tree; /* Information about the extents b-tree */ @@ -129,8 +129,8 @@ struct hfs_sb_info { "allocation block" */ int s_quiet; /* Silent failure when changing owner or mode? */ - u32 s_type; /* Type for new files */ - u32 s_creator; /* Creator for new files */ + __be32 s_type; /* Type for new files */ + __be32 s_creator; /* Creator for new files */ umode_t s_file_umask; /* The umask applied to the permissions on all files */ umode_t s_dir_umask; /* The umask applied to the @@ -197,11 +197,11 @@ extern struct address_space_operations hfs_aops; extern struct address_space_operations hfs_btree_aops; extern struct inode *hfs_new_inode(struct inode *, struct qstr *, int); -extern void hfs_inode_write_fork(struct inode *, struct hfs_extent *, u32 *, u32 *); -extern void hfs_write_inode(struct inode *, int); +extern void hfs_inode_write_fork(struct inode *, struct hfs_extent *, __be32 *, __be32 *); +extern int hfs_write_inode(struct inode *, int); extern int hfs_inode_setattr(struct dentry *, struct iattr *); extern void hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, - u32 log_size, u32 phys_size, u32 clump_size); + __be32 log_size, __be32 phys_size, u32 clump_size); extern struct inode *hfs_iget(struct super_block *, struct hfs_cat_key *, hfs_cat_rec *); extern void hfs_clear_inode(struct inode *); extern void hfs_delete_inode(struct inode *); @@ -223,9 +223,6 @@ extern int hfs_strcmp(const unsigned char *, unsigned int, const unsigned char *, unsigned int); extern int hfs_compare_dentry(struct dentry *, struct qstr *, struct qstr *); -/* super.c */ -extern struct super_block *hfs_read_super(struct super_block *,void *,int); - /* trans.c */ extern void hfs_triv2mac(struct hfs_name *, struct qstr *); extern int hfs_mac2triv(char *, const struct hfs_name *);