[PATCH 0/2] lockd: allow setting ports without setting gracetime

Jeff Layton posted 2 patches 1 day, 1 hour ago
There is a newer version of this series
fs/lockd/svc.c                                    |  50 ++---
tools/testing/selftests/nfsd/.gitignore           |   1 +
tools/testing/selftests/nfsd/Makefile             |   1 +
tools/testing/selftests/nfsd/nfsd_lockd_netlink.c | 249 ++++++++++++++++++++++
tools/testing/selftests/nfsd/nfsd_netlink.h       |  90 ++++++--
5 files changed, 348 insertions(+), 43 deletions(-)
[PATCH 0/2] lockd: allow setting ports without setting gracetime
Posted by Jeff Layton 1 day, 1 hour ago
This fixes a rather silly bug that Scott pointed out to me in a meeting
recently. You currently can't set the ports in lockd via the netlink
interface unless you also set the gracetime. This patch makes them all
properly optional.

We probably want this to go to stable.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (2):
      lockd: allow SERVER_SET without a gracetime attribute
      selftests/nfsd: add lockd netlink configuration tests

 fs/lockd/svc.c                                    |  50 ++---
 tools/testing/selftests/nfsd/.gitignore           |   1 +
 tools/testing/selftests/nfsd/Makefile             |   1 +
 tools/testing/selftests/nfsd/nfsd_lockd_netlink.c | 249 ++++++++++++++++++++++
 tools/testing/selftests/nfsd/nfsd_netlink.h       |  90 ++++++--
 5 files changed, 348 insertions(+), 43 deletions(-)
---
base-commit: cab95e6be3ba82bcf4c8be27c2eb20e55238aa41
change-id: 20260922-nfsd-testing-00c12335047d

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>