commit | 7bab377fcb495ee2e5a1cd69d235f8d84c76e3af | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 20 13:44:06 2006 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 20 13:44:06 2006 -0500 |
tree | 67f03fbc543632ccf71075af250635201b43801b | |
parent | 36943fa4b2701b9ef2d60084c85ecbe634aec252 [diff] [blame] |
lockd: Don't expose the process pid to the NLM server Instead we use the nlm_lockowner->pid. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c index 9cfced6..a525a14 100644 --- a/fs/lockd/svclock.c +++ b/fs/lockd/svclock.c
@@ -397,6 +397,7 @@ (long long)fl->fl_end); conflock->caller = "somehost"; /* FIXME */ conflock->oh.len = 0; /* don't return OH info */ + conflock->svid = fl->fl_pid; conflock->fl = *fl; return nlm_lck_denied; }