Remove useless call of is_mounted

This commit is contained in:
wbaumann 2016-04-09 19:46:26 +00:00
parent dfe67b208a
commit accd18e7f1
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,10 @@
ChangeLog for davfs2
--------------------

2016-04-09 Werner Baumann (werner.baumann@onlinehome.de)
* kernel_interface.c:
Remove useless call of is_mounted.

2016-04-09 Werner Baumann (werner.baumann@onlinehome.de)
* kernel_interface.c, mount_davfs.c:
Unmount while dav_run_msgloop is still running.

View File

@ -330,8 +330,6 @@ dav_run_msgloop(volatile int *keep_on_running)
break;
}
} else if (ret == 0) {
if (!dav_is_mounted())
break;
if (dav_tidy_cache() == 0) {
tv.tv_sec = idle_time;
last_tidy_cache = time(NULL);