Files
xemu/block
Li Feng eb43ea16dc file-posix: check the use_lock before setting the file lock
The scenario is that when accessing a volume on an NFS filesystem
without supporting the file lock,  Qemu will complain "Failed to lock
byte 100", even when setting the file.locking = off.

We should do file lock related operations only when the file.locking is
enabled, otherwise, the syscall of 'fcntl' will return non-zero.

Signed-off-by: Li Feng <fengli@smartx.com>
Message-Id: <1607341446-85506-1-git-send-email-fengli@smartx.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-12-11 17:52:40 +01:00
..
2019-10-10 10:56:17 +02:00
2020-09-07 12:31:31 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
…
2020-12-11 17:52:39 +01:00
…
2020-11-09 15:44:21 +01:00
…
2020-12-11 17:52:39 +01:00
2020-09-15 11:05:13 +02:00
2020-07-06 10:34:14 +02:00
2020-09-07 12:31:31 +02:00
…
2020-10-13 13:33:45 +02:00