[PATCH] loop: trivial error number fix
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> This patch fixes the error number when invalid file is passed (neother S_ISBLK nor S_ISREG is true). We should return -EINVAL.
Showing
Please register or sign in to comment