Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273075
b: refs/heads/master
c: f32948d
h: refs/heads/master
i:
  273073: 68d250b
  273071: f3d1e03
v: v3
  • Loading branch information
Li Haifeng authored and Jan Kara committed Aug 30, 2011
1 parent 00640c9 commit 799beb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbc854027c91fa2813ae7f9de43cc0b5c1119f41
refs/heads/master: f32948ddd1179ac0b105ceacc235cfc3f98ebea3
8 changes: 4 additions & 4 deletions trunk/fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ static struct inode *ext2_nfs_get_inode(struct super_block *sb,
if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count))
return ERR_PTR(-ESTALE);

/* iget isn't really right if the inode is currently unallocated!!
* ext2_read_inode currently does appropriate checks, but
* it might be "neater" to call ext2_get_inode first and check
* if the inode is valid.....
/*
* ext2_iget isn't quite right if the inode is currently unallocated!
* However ext2_iget currently does appropriate checks to handle stale
* inodes so everything is OK.
*/
inode = ext2_iget(sb, ino);
if (IS_ERR(inode))
Expand Down

0 comments on commit 799beb0

Please sign in to comment.