patch-2.3.99-pre1 linux/fs/ext2/dir.c
Next file: linux/fs/fat/fatfs_syms.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Mar 13 10:23:36 2000
- Orig file:
v2.3.51/linux/fs/ext2/dir.c
- Orig date:
Sat Feb 26 22:31:52 2000
diff -u --recursive --new-file v2.3.51/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -151,14 +151,14 @@
* not the directory has been modified
* during the copy operation.
*/
- unsigned long version = inode->i_version;
+ unsigned long version = filp->f_version;
error = filldir(dirent, de->name,
de->name_len,
filp->f_pos, le32_to_cpu(de->inode));
if (error)
break;
- if (version != inode->i_version)
+ if (version != filp->f_version)
goto revalidate;
stored ++;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)