Skip to content
Commit 7de875b2 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Chuck Lever
Browse files

lockd: lockd server-side shouldn't set fl_ops



Locks have two sets of op arrays, fl_lmops for the lock manager (lockd
or nfsd), fl_ops for the filesystem.  The server-side lockd code has
been setting its own fl_ops, which leads to confusion (and crashes) in
the reexport case, where the filesystem expects to be the only one
setting fl_ops.

And there's no reason for it that I can see-the lm_get/put_owner ops do
the same job.

Reported-by: default avatarDaire Byrne <daire@dneg.com>
Tested-by: default avatarDaire Byrne <daire@dneg.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 400edd8c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment