
9 Oct
2018
9 Oct
'18
3:48 p.m.
On 10/09/2018 09:10 AM, Han Han wrote:
Fix typos of function name in commit msg. v1 version: https://www.redhat.com/archives/libvir-list/2018-October/msg00511.html
virFileIsSharedFixFUSE doesn't fix f_type when "fuse.glusterfs" is not the last row of mount table. For example, it doesn't works on the mount table like following: 10.XX.XX.XX:/gv0 /mnt fuse.glusterfs rw 0 0 root@XX.XX.XX:/tmp/mkdir /tmp/br0 fuse.sshfs rw 0 0
Copy mnt_dir of struct mntent in case its mnt_dir is changed by getmntent_r in the loop later.
Signed-off-by: Han Han <hhan@redhat.com> --- src/util/virfile.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
Ah, thanks for catching this. In fact, we can do way better. I will post my patches shortly. Michal