From c8275e0bf6f5ad15a85e80fc6ae16ee54caceb07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sankar=20=E0=AE=9A=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B0?= =?UTF-8?q?=E0=AF=8D?= Date: Mon, 22 Apr 2013 21:12:52 +0530 Subject: [PATCH] Start using the convenience inline functions --- simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple.c b/simple.c index 746639f..cb2124b 100644 --- a/simple.c +++ b/simple.c @@ -67,7 +67,7 @@ static struct inode_operations simplefs_inode_ops = { * from the inode store, if it exists. */ struct simplefs_inode * simplefs_get_inode(struct super_block *sb, uint64_t inode_no) { - struct simplefs_super_block *sfs_sb = sb->s_fs_info; + struct simplefs_super_block *sfs_sb = SIMPLEFS_SB(sb); struct simplefs_inode *sfs_inode = NULL; int i;