summaryrefslogtreecommitdiffstats
path: root/mdadm_status.h
diff options
context:
space:
mode:
authorKinga Stefaniuk <kinga.stefaniuk@intel.com>2024-10-09 08:48:20 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-10-16 12:47:24 +0200
commit0d29e12553cd9f51c1d4428ea373cdb8c62fbcf2 (patch)
tree421770b7ba611a65e3e670b4a2521a427f1f8650 /mdadm_status.h
parentmdadm.man: Add udev-rules flag (diff)
downloadmdadm-0d29e12553cd9f51c1d4428ea373cdb8c62fbcf2.tar.xz
mdadm-0d29e12553cd9f51c1d4428ea373cdb8c62fbcf2.zip
util: use only /dev directory in open_dev()
Previously, open_dev() tried to open device in two ways - using /dev and /tmp directory. This method could be used by users which have no access to /tmp directory (e.g. udev) and dev_open() fails which may affect many processes. Remove try to open in /tmp directory. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Diffstat (limited to 'mdadm_status.h')
0 files changed, 0 insertions, 0 deletions