patch-1.3.28 linux/fs/ext/dir.c
Next file: linux/fs/ext/freelists.c
Previous file: linux/fs/devices.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Sep 18 08:54:10 1995
- Orig file:
v1.3.27/linux/fs/ext/dir.c
- Orig date:
Fri Jun 9 12:28:00 1995
diff -u --recursive --new-file v1.3.27/linux/fs/ext/dir.c linux/fs/ext/dir.c
@@ -95,8 +95,10 @@
de->rec_len < de->name_len + 8 ||
(de->rec_len + (off_t) filp->f_pos - 1) / 1024 > ((off_t) filp->f_pos / 1024)) {
printk ("ext_readdir: bad dir entry, skipping\n");
- printk ("dev=%d, dir=%ld, offset=%ld, rec_len=%d, name_len=%d\n",
- inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len);
+ printk ("dev=%s, dir=%ld, "
+ "offset=%ld, rec_len=%d, name_len=%d\n",
+ kdevname(inode->i_dev), inode->i_ino,
+ offset, de->rec_len, de->name_len);
filp->f_pos += 1024-offset;
if (filp->f_pos > inode->i_size)
filp->f_pos = inode->i_size;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this