patch-2.1.56 linux/fs/affs/dir.c

Next file: linux/fs/bad_inode.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/fs/affs/dir.c linux/fs/affs/dir.c
@@ -82,7 +82,7 @@
 	struct buffer_head	 *dir_bh;
 	struct buffer_head	 *fh_bh;
 	struct inode		 *dir;
-	struct inode 		 *inode = file->f_dentry->d_inode;
+	struct inode 		 *inode = filp->f_dentry->d_inode;
 
 	pr_debug("AFFS: readdir(ino=%ld,f_pos=%lu)\n",inode->i_ino,filp->f_pos);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov