patch-2.3.99-pre4 linux/fs/adfs/dir.c
Next file: linux/fs/autofs/dirhash.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Apr 2 15:53:28 2000
- Orig file:
v2.3.99-pre3/linux/fs/adfs/dir.c
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/fs/adfs/dir.c linux/fs/adfs/dir.c
@@ -30,7 +30,7 @@
adfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
struct inode *inode = filp->f_dentry->d_inode;
- struct super_block *sb = filp->f_dentry->d_sb;
+ struct super_block *sb = inode->i_sb;
struct adfs_dir_ops *ops = sb->u.adfs_sb.s_dir;
struct object_info obj;
struct adfs_dir dir;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)