X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbfs%2Fbfs.h;h=7109e451abf7604083f7687087cb0e6a7f1006a1;hb=b0e0c9e7f6d5764633e93944dafd896dd6097318;hp=71faf4d2390824ac2f0e001c32bb24c126f7f653;hpb=a8e98d6d51a3eb7bb061b1625193a129c8bd094f;p=linux-2.6 diff --git a/fs/bfs/bfs.h b/fs/bfs/bfs.h index 71faf4d239..7109e451ab 100644 --- a/fs/bfs/bfs.h +++ b/fs/bfs/bfs.h @@ -16,8 +16,9 @@ struct bfs_sb_info { unsigned long si_freei; unsigned long si_lf_eblk; unsigned long si_lasti; - unsigned long * si_imap; - struct buffer_head * si_sbh; /* buffer header w/superblock */ + unsigned long *si_imap; + struct buffer_head *si_sbh; /* buffer header w/superblock */ + struct mutex bfs_lock; }; /* @@ -42,7 +43,7 @@ static inline struct bfs_inode_info *BFS_I(struct inode *inode) #define printf(format, args...) \ - printk(KERN_ERR "BFS-fs: %s(): " format, __FUNCTION__, ## args) + printk(KERN_ERR "BFS-fs: %s(): " format, __func__, ## args) /* inode.c */ extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino);