]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/bfs/bfs.h
9p: add support for sticky bit
[linux-2.6-omap-h63xx.git] / fs / bfs / bfs.h
index 130f6c66c5ba09dab89de3b7865ac09a6c96ae25..ac7a8b1d6c3ab5f749305c4c38fec63289791b19 100644 (file)
@@ -14,8 +14,6 @@ struct bfs_sb_info {
        unsigned long si_blocks;
        unsigned long si_freeb;
        unsigned long si_freei;
-       unsigned long si_lf_ioff;
-       unsigned long si_lf_sblk;
        unsigned long si_lf_eblk;
        unsigned long si_lasti;
        unsigned long * si_imap;
@@ -39,7 +37,7 @@ static inline struct bfs_sb_info *BFS_SB(struct super_block *sb)
 
 static inline struct bfs_inode_info *BFS_I(struct inode *inode)
 {
-       return list_entry(inode, struct bfs_inode_info, vfs_inode);
+       return container_of(inode, struct bfs_inode_info, vfs_inode);
 }