diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2020-12-07 13:30:20 -0500 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-12-18 10:08:24 +0000 |
commit | e7e8aa8aead2874f789a5d4a84cddb9b099fbd1c (patch) | |
tree | d19dba1a2e8311800271e87ac37c5e77fa3ebcff /docs/devel | |
parent | ad3bfe1bd6d07b086738f0e537a8f3c9b1ab65a6 (diff) | |
download | qemu-e7e8aa8aead2874f789a5d4a84cddb9b099fbd1c.zip qemu-e7e8aa8aead2874f789a5d4a84cddb9b099fbd1c.tar.gz qemu-e7e8aa8aead2874f789a5d4a84cddb9b099fbd1c.tar.bz2 |
virtiofsd: Disable posix_lock hash table if remote locks are not enabled
If remote posix locks are not enabled (lo->posix_lock == false), then disable
code paths taken to initialize inode->posix_lock hash table and corresponding
destruction and search etc.
lo_getlk() and lo_setlk() have been modified to return ENOSYS if daemon
does not support posix lock but client still sends a lock/unlock request.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20201207183021.22752-3-vgoyal@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'docs/devel')
0 files changed, 0 insertions, 0 deletions