summaryrefslogtreecommitdiffstats
path: root/Detail.c
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2021-10-19 12:07:43 +0200
committerJes Sorensen <jsorensen@fb.com>2021-11-02 17:11:36 +0100
commit4389ce73b542768bdda9b64ec38691af5ceccfd6 (patch)
treeb789519bf85e40b2b3dc9f2e2267e229da564e01 /Detail.c
parentmdadm/Detail: Can't show container name correctly when unpluging disks (diff)
downloadmdadm-4389ce73b542768bdda9b64ec38691af5ceccfd6.tar.xz
mdadm-4389ce73b542768bdda9b64ec38691af5ceccfd6.zip
imsm: introduce helpers to manage file descriptors
To avoid direct comparisions define dedicated inlines. This patch propagates them in super-intel.c. They are declared globally for future usage outside IMSM. Additionally, it adds fd check in save_backup_imsm() to remove code vulnerability and simplifies targets array implementation. It also propagates pr_vrb() macro instead if (verbose) condidtion. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Detail.c')
0 files changed, 0 insertions, 0 deletions