* [Git][lvmteam/lvm2][main] filters: fix condition
@ 2023-10-18 0:26 Zdeněk Kabeláč
0 siblings, 0 replies; only message in thread
From: Zdeněk Kabeláč @ 2023-10-18 0:26 UTC (permalink / raw)
To: lvm-devel
Zden?k Kabel?? pushed to branch main at LVM team / lvm2
Commits:
2b01af3d by Zdenek Kabelac at 2023-10-18T02:19:15+02:00
filters: fix condition
During revork in commit cf46f4baeeaba5f79982e651c1c36c15476f7329
condition was inverted, the check for non-null string is needed.
- - - - -
1 changed file:
- lib/filters/filter-sysfs.c
Changes:
=====================================
lib/filters/filter-sysfs.c
=====================================
@@ -75,7 +75,7 @@ struct dev_filter *sysfs_filter_create(const char *sysfs_dir)
struct dev_filter *f;
size_t len;
- if (!sysfs_dir || *sysfs_dir) {
+ if (!sysfs_dir || !*sysfs_dir) {
log_verbose("No proc filesystem found: skipping sysfs filter");
return NULL;
}
View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/commit/2b01af3de97576dc2d6e5a4897f1fc0488e67879
--
View it on GitLab: https://gitlab.com/lvmteam/lvm2/-/commit/2b01af3de97576dc2d6e5a4897f1fc0488e67879
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20231018/fd916fa3/attachment-0001.htm>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-18 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 0:26 [Git][lvmteam/lvm2][main] filters: fix condition Zdeněk Kabeláč
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).