Ran
|
Files
447
|
Run time
11s
|
Badge
README BADGES
|
push
github
libmount: make sure "option=" is used as string mount(8) cares about case when option specified as "name=" (it means without data). See for example 727c68990. We need this also for new mount API and use FSCONFIG_SET_STRING rather than FSCONFIG_SET_FLAG. strace -e fsconfig ./mount -o usrjquota= /dev/sdc1 /mnt/test Old: fsconfig(3, FSCONFIG_SET_STRING, "source", "/dev/sdc1", 0) = 0 fsconfig(3, FSCONFIG_SET_FLAG, "usrjquota", NULL, 0) = -1 EINVAL (Invalid argument) Fixed: fsconfig(3, FSCONFIG_SET_STRING, "source", "/dev/sdc1", 0) = 0 fsconfig(3, FSCONFIG_SET_STRING, "usrjquota", "", 0) = 0 Fixes: https://github.com/util-linux/util-linux/issues/2837 Signed-off-by: Karel Zak <kzak@redhat.com> (cherry picked from commit 0c5485348) (cherry picked from commit 175af5cb8)
24681 of 53946 branches covered (45.75%)
Branch coverage included in aggregate %.
45029 of 95660 relevant lines covered (47.07%)
15919.98 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|