path: root/cmds-scrub.c
diff options
authorGoffredo Baroncelli <>2011-10-21 19:00:28 +0200
committerDavid Sterba <>2013-01-18 18:25:50 +0100
commit681813b7972dcdcd2e989389a6ed5e6b7794dd2b (patch)
treef9e064e25163a006ecb9e2026185b23c249ffcb7 /cmds-scrub.c
parent6cd836d7d95ae61edfca2406f48eeca47b8cfd81 (diff)
Ignore the error ENXIO and ENOMEDIUM during a devs scan
Ignore the error ENXIO (device don't exists) and ENOMEDIUM ( No medium found -> like a cd tray empty) in the function btrfs_scan_one_dir. This avoids spurios errors due to an empty CD or a block device node without a device (which is frequent in a static /dev). Signed-off-by: Goffredo Baroncelli <>
Diffstat (limited to 'cmds-scrub.c')
0 files changed, 0 insertions, 0 deletions