diff options
-rw-r--r-- | fs/fat/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 8521207de229..b3a2a0e1ef9b 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -1279,8 +1279,7 @@ out: | |||
1279 | 1279 | ||
1280 | static int fat_read_root(struct inode *inode) | 1280 | static int fat_read_root(struct inode *inode) |
1281 | { | 1281 | { |
1282 | struct super_block *sb = inode->i_sb; | 1282 | struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); |
1283 | struct msdos_sb_info *sbi = MSDOS_SB(sb); | ||
1284 | int error; | 1283 | int error; |
1285 | 1284 | ||
1286 | MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; | 1285 | MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; |