VFS: better dupfrom(2) deadlock detection

Change-Id: I29f00075698888c7c8ca60b47ab82fba8c606f4e
This commit is contained in:
David van Moolenbroek
2013-10-05 12:50:44 +02:00
committed by Lionel Sambuc
parent 9e3e032c26
commit 50685cbec3
4 changed files with 19 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}
if (errno != EINVAL) {
if (errno != EBADF) {
perror("ioctl(VNDIOCSET)");
return EXIT_FAILURE;
}