patch-2.2.0-pre6 linux/fs/ufs/dir.c
Next file: linux/fs/ufs/super.c
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Jan 7 10:31:07 1999
- Orig file:
v2.2.0-pre5/linux/fs/ufs/dir.c
- Orig date:
Thu Nov 12 16:21:23 1998
diff -u --recursive --new-file v2.2.0-pre5/linux/fs/ufs/dir.c linux/fs/ufs/dir.c
@@ -110,9 +110,7 @@
brelse(bh);
return stored;
}
-#if 0 /* XXX */
- if (!ext2_check_dir_entry ("ext2_readdir", inode, de,
- /* XXX - beware about de having to be swabped somehow */
+ if (!ufs_check_dir_entry ("ufs_readdir", inode, de,
bh, offset)) {
/* On error, skip the f_pos to the
next block. */
@@ -122,7 +120,6 @@
brelse (bh);
return stored;
}
-#endif /* XXX */
offset += SWAB16(de->d_reclen);
if (de->d_ino) {
/* SWAB16() was unneeded -- compare to 0 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov