affs.h (c58310bf4933986513020fa90b4190c7492995ae) | affs.h (dca3c33652e437ed02c30ed3eca3cecd0cc00838) |
---|---|
1#include <linux/types.h> 2#include <linux/fs.h> 3#include <linux/buffer_head.h> 4#include <linux/amigaffs.h> 5 6/* AmigaOS allows file names with up to 30 characters length. 7 * Names longer than that will be silently truncated. If you 8 * want to disallow this, comment out the following #define. --- 34 unchanged lines hidden (view full) --- 43 u32 ext; /* idx of the extended block */ 44 u32 key; /* block number */ 45}; 46 47/* 48 * affs fs inode data in memory 49 */ 50struct affs_inode_info { | 1#include <linux/types.h> 2#include <linux/fs.h> 3#include <linux/buffer_head.h> 4#include <linux/amigaffs.h> 5 6/* AmigaOS allows file names with up to 30 characters length. 7 * Names longer than that will be silently truncated. If you 8 * want to disallow this, comment out the following #define. --- 34 unchanged lines hidden (view full) --- 43 u32 ext; /* idx of the extended block */ 44 u32 key; /* block number */ 45}; 46 47/* 48 * affs fs inode data in memory 49 */ 50struct affs_inode_info { |
51 u32 i_opencnt; | 51 atomic_t i_opencnt; |
52 struct semaphore i_link_lock; /* Protects internal inode access. */ 53 struct semaphore i_ext_lock; /* Protects internal inode access. */ 54#define i_hash_lock i_ext_lock 55 u32 i_blkcnt; /* block count */ 56 u32 i_extcnt; /* extended block count */ 57 u32 *i_lc; /* linear cache of extended blocks */ 58 u32 i_lc_size; 59 u32 i_lc_shift; --- 105 unchanged lines hidden (view full) --- 165extern int affs_rename(struct inode *old_dir, struct dentry *old_dentry, 166 struct inode *new_dir, struct dentry *new_dentry); 167 168/* inode.c */ 169 170extern unsigned long affs_parent_ino(struct inode *dir); 171extern struct inode *affs_new_inode(struct inode *dir); 172extern int affs_notify_change(struct dentry *dentry, struct iattr *attr); | 52 struct semaphore i_link_lock; /* Protects internal inode access. */ 53 struct semaphore i_ext_lock; /* Protects internal inode access. */ 54#define i_hash_lock i_ext_lock 55 u32 i_blkcnt; /* block count */ 56 u32 i_extcnt; /* extended block count */ 57 u32 *i_lc; /* linear cache of extended blocks */ 58 u32 i_lc_size; 59 u32 i_lc_shift; --- 105 unchanged lines hidden (view full) --- 165extern int affs_rename(struct inode *old_dir, struct dentry *old_dentry, 166 struct inode *new_dir, struct dentry *new_dentry); 167 168/* inode.c */ 169 170extern unsigned long affs_parent_ino(struct inode *dir); 171extern struct inode *affs_new_inode(struct inode *dir); 172extern int affs_notify_change(struct dentry *dentry, struct iattr *attr); |
173extern void affs_put_inode(struct inode *inode); 174extern void affs_drop_inode(struct inode *inode); | |
175extern void affs_delete_inode(struct inode *inode); 176extern void affs_clear_inode(struct inode *inode); 177extern struct inode *affs_iget(struct super_block *sb, 178 unsigned long ino); 179extern int affs_write_inode(struct inode *inode, int); 180extern int affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type); 181 182/* file.c */ --- 123 unchanged lines hidden --- | 173extern void affs_delete_inode(struct inode *inode); 174extern void affs_clear_inode(struct inode *inode); 175extern struct inode *affs_iget(struct super_block *sb, 176 unsigned long ino); 177extern int affs_write_inode(struct inode *inode, int); 178extern int affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type); 179 180/* file.c */ --- 123 unchanged lines hidden --- |