nfsd: set the MAY_NOTIFY_LOCK flag in OPEN replies
authorJeff Layton <jlayton@redhat.com>
Fri, 16 Sep 2016 20:28:27 +0000 (16:28 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Sep 2016 19:20:37 +0000 (15:20 -0400)
commit19e4c3477f70843930b328be3bcd16bd17993911
treefb9e262b86701bfe54ef22875e652a2b3c6e7292
parentb4c8eb0379c8d3300a54210edd2235fd1e81a8a6
nfsd: set the MAY_NOTIFY_LOCK flag in OPEN replies

If we are using v4.1+, then we can send notification when contended
locks become free. Inform the client of that fact.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c