Commit bfeae65
committed
dm: Remove root permission check in bd_dm_map_exists
Checking only EUID is not enough and we don't really support
running without root privileges. If someone tries to run this
function as non-root, the first dm_task_create will fail and the
reason is logged, so that should be good enough.1 parent a8a61c0 commit bfeae65
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 318 | | |
325 | 319 | | |
326 | 320 | | |
| |||
0 commit comments