patch-2.1.45 linux/include/linux/lockd/lockd.h

Next file: linux/include/linux/minix_fs.h
Previous file: linux/include/linux/list.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/include/linux/lockd/lockd.h linux/include/linux/lockd/lockd.h
@@ -166,7 +166,7 @@
 extern __inline__ struct inode *
 nlmsvc_file_inode(struct nlm_file *file)
 {
-	return file->f_file.f_inode;
+	return file->f_file.f_dentry->d_inode;
 }
 
 /*

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