Commit 1484480
committed
test/librbd/fsx: don't call posix_memalign() if size is 0
While legal, it's specified as implementation-defined behavior and
newer valgrind throws InvalidSize error on it.
Fixes: https://tracker.ceph.com/issues/65813
Signed-off-by: Ilya Dryomov <[email protected]>1 parent 47ad28f commit 1484480
1 file changed
+15
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2890 | 2890 | | |
2891 | 2891 | | |
2892 | 2892 | | |
2893 | | - | |
2894 | | - | |
2895 | | - | |
2896 | | - | |
2897 | | - | |
2898 | | - | |
2899 | | - | |
2900 | | - | |
2901 | 2893 | | |
2902 | | - | |
2903 | | - | |
2904 | | - | |
2905 | | - | |
2906 | | - | |
2907 | | - | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
2908 | 2909 | | |
2909 | 2910 | | |
2910 | 2911 | | |
| |||
0 commit comments