projects
/
util-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5c955
)
Fix misplaced else in mnt_update_already_done
author
Gavin Lloyd
<gavinhungry@gmail.com>
Wed, 10 Apr 2024 00:38:02 +0000
(17:38 -0700)
committer
Chris Hofstaedtler
<zeha@debian.org>
Sat, 27 Apr 2024 12:23:31 +0000
(14:23 +0200)
See
477401f0de
(cherry picked from commit
6b316e0c9f1feb61bef3bb14b1356be8fbefcc17
)
Gbp-Pq: Topic upstream
Gbp-Pq: Name Fix-misplaced-else-in-mnt_update_already_done.patch
libmount/src/tab_update.c
patch
|
blob
|
history
diff --git
a/libmount/src/tab_update.c
b/libmount/src/tab_update.c
index 87512af740542d024b156c1fc42d73bef4a52388..d44d190bc980c92b003104c7666345408c43c036 100644
(file)
--- a/
libmount/src/tab_update.c
+++ b/
libmount/src/tab_update.c
@@
-982,9
+982,9
@@
int mnt_update_already_done(struct libmnt_update *upd)
if (mnt_optstr_get_missing(fs->user_optstr, upd->fs->user_optstr, NULL) == 0) {
upd->missing_options = 1;
DBG(UPDATE, ul_debugobj(upd, " missing options detected"));
- }
- } else
- rc = 1;
+ }
else
+ rc = 1;
+ }
} else if (upd->target) {
/* umount */