Searched hist:"7 de875b2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/lockd/ |
H A D | svclock.c | 7de875b2 Fri Aug 20 16:01:59 CDT 2021 J. Bruce Fields <bfields@redhat.com> 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: Daire Byrne <daire@dneg.com> Tested-by: Daire Byrne <daire@dneg.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|