diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:37:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:47 -0800 |
commit | 225a719f79fbc4d0cd9d9ebc5b2e3ac0e95845aa (patch) | |
tree | 6ac303324b2832cd92a4ec9539162ac65f8d452d /fs/lockd/clntlock.c | |
parent | a7a005fd12b84392becca311f2a20d5bf2a1b7af (diff) | |
download | linux-stable-225a719f79fbc4d0cd9d9ebc5b2e3ac0e95845aa.tar.gz linux-stable-225a719f79fbc4d0cd9d9ebc5b2e3ac0e95845aa.tar.bz2 linux-stable-225a719f79fbc4d0cd9d9ebc5b2e3ac0e95845aa.zip |
[PATCH] struct path: convert lockd
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/lockd/clntlock.c')
-rw-r--r-- | fs/lockd/clntlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/clntlock.c b/fs/lockd/clntlock.c index b85a0ad2cfb6..92681c9e9b20 100644 --- a/fs/lockd/clntlock.c +++ b/fs/lockd/clntlock.c @@ -126,7 +126,7 @@ __be32 nlmclnt_grant(const struct sockaddr_in *addr, const struct nlm_lock *lock continue; if (!nlm_cmp_addr(&block->b_host->h_addr, addr)) continue; - if (nfs_compare_fh(NFS_FH(fl_blocked->fl_file->f_dentry->d_inode) ,fh) != 0) + if (nfs_compare_fh(NFS_FH(fl_blocked->fl_file->f_path.dentry->d_inode) ,fh) != 0) continue; /* Alright, we found a lock. Set the return status * and wake up the caller |