summaryrefslogtreecommitdiff
path: root/src/umount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-23 02:39:54 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-23 16:28:27 +0200
commit3e085b6c59257ca57534afc5044256f2102f9c28 (patch)
treecde9ec14fdd893c6fc00d8e70cabffb04a77cb27 /src/umount.c
parentde3756ab9916551f3f4f1f360aee59aeed238b5b (diff)
llvm-analyze: change a few things to make llvm-analyze show fewer false positives
Diffstat (limited to 'src/umount.c')
-rw-r--r--src/umount.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/umount.c b/src/umount.c
index 67be42ea33..4e036d82a3 100644
--- a/src/umount.c
+++ b/src/umount.c
@@ -565,10 +565,13 @@ int umount_all(bool *changed) {
/* retry umount, until nothing can be umounted anymore */
do {
umount_changed = false;
- r = mount_points_list_umount(&mp_list_head, &umount_changed, false);
+
+ mount_points_list_umount(&mp_list_head, &umount_changed, false);
if (umount_changed)
*changed = true;
- } while(umount_changed);
+
+ } while (umount_changed);
+
/* umount one more time with logging enabled */
r = mount_points_list_umount(&mp_list_head, &umount_changed, true);
if (r <= 0)