aboutsummaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2020-12-07 13:30:20 -0500
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-12-18 10:08:24 +0000
commite7e8aa8aead2874f789a5d4a84cddb9b099fbd1c (patch)
treed19dba1a2e8311800271e87ac37c5e77fa3ebcff /docs/devel
parentad3bfe1bd6d07b086738f0e537a8f3c9b1ab65a6 (diff)
downloadqemu-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