diff options
-rw-r--r-- | fs/ext2/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 1dd62ed35b85..bd8ac164a3bf 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -327,10 +327,10 @@ static struct inode *ext2_nfs_get_inode(struct super_block *sb, | |||
327 | if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) | 327 | if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) |
328 | return ERR_PTR(-ESTALE); | 328 | return ERR_PTR(-ESTALE); |
329 | 329 | ||
330 | /* iget isn't really right if the inode is currently unallocated!! | 330 | /* |
331 | * ext2_read_inode currently does appropriate checks, but | 331 | * ext2_iget isn't quite right if the inode is currently unallocated! |
332 | * it might be "neater" to call ext2_get_inode first and check | 332 | * However ext2_iget currently does appropriate checks to handle stale |
333 | * if the inode is valid..... | 333 | * inodes so everything is OK. |
334 | */ | 334 | */ |
335 | inode = ext2_iget(sb, ino); | 335 | inode = ext2_iget(sb, ino); |
336 | if (IS_ERR(inode)) | 336 | if (IS_ERR(inode)) |