patch-2.1.45 linux/fs/lockd/clntlock.c

Next file: linux/fs/lockd/clntproc.c
Previous file: linux/fs/isofs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/fs/lockd/clntlock.c linux/fs/lockd/clntlock.c
@@ -172,7 +172,7 @@
 	/* First, reclaim all locks that have been granted previously. */
 	do {
 		for (fl = file_lock_table; fl; fl = fl->fl_next) {
-			inode = fl->fl_file->f_inode;
+			inode = fl->fl_file->f_dentry->d_inode;
 			if (inode->i_sb->s_magic == NFS_SUPER_MAGIC
 			 && nlm_cmp_addr(NFS_ADDR(inode), &host->h_addr)
 			 && fl->fl_u.nfs_fl.state != host->h_state

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