summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDaniel Gomez <da.gomez@samsung.com>2025-12-20 04:49:37 +0100
committerMikulas Patocka <mpatocka@redhat.com>2026-01-02 15:13:56 +0100
commitb13ef361d47f09b7aecd18e0383ecc83ff61057e (patch)
treef0d55133c3f1fbff7e43cd208e3a5666b6cfd1dd /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentf3a9c95a15d2f4466acad5c68faeff79ca5e9f47 (diff)
dm: replace -EEXIST with -EBUSY
The -EEXIST error code is reserved by the module loading infrastructure to indicate that a module is already loaded. When a module's init function returns -EEXIST, userspace tools like kmod interpret this as "module already loaded" and treat the operation as successful, returning 0 to the user even though the module initialization actually failed. This follows the precedent set by commit 54416fd76770 ("netfilter: conntrack: helper: Replace -EEXIST by -EBUSY") which fixed the same issue in nf_conntrack_helper_register(). Affected modules: * dm_cache dm_clone dm_integrity dm_mirror dm_multipath dm_pcache * dm_vdo dm-ps-round-robin dm_historical_service_time dm_io_affinity * dm_queue_length dm_service_time dm_snapshot Signed-off-by: Daniel Gomez <da.gomez@samsung.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions