~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/ufs/ufs.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        unsigned s_cgno[UFS_MAX_GROUP_LOADED];
19
19
        unsigned short s_cg_loaded;
20
20
        unsigned s_mount_opt;
 
21
        struct mutex mutex;
 
22
        struct task_struct *mutex_owner;
21
23
};
22
24
 
23
25
struct ufs_inode_info {
109
111
extern int ufs_write_inode (struct inode *, struct writeback_control *);
110
112
extern int ufs_sync_inode (struct inode *);
111
113
extern void ufs_evict_inode (struct inode *);
112
 
extern struct buffer_head * ufs_bread (struct inode *, unsigned, int, int *);
113
114
extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create);
114
115
 
115
116
/* namei.c */
154
155
        return do_div(b, uspi->s_fpg);
155
156
}
156
157
 
 
158
extern void lock_ufs(struct super_block *sb);
 
159
extern void unlock_ufs(struct super_block *sb);
 
160
 
157
161
#endif /* _UFS_UFS_H */