Skip to content
Snippets Groups Projects
Commit f3fe2238 authored by Takuya ASADA's avatar Takuya ASADA Committed by Pekka Enberg
Browse files

Add F_SETLK, F_GETLK stub on fcntl

parent 592c572d
No related branches found
No related tags found
No related merge requests found
......@@ -1163,6 +1163,12 @@ int fcntl(int fd, int cmd, int arg)
tmp = fp->f_flags & FASYNC;
fp->ioctl(FIOASYNC, &tmp);
break;
case F_SETLK:
WARN_ONCE("fcntl(F_SETLK) stubbed\n");
break;
case F_GETLK:
WARN_ONCE("fcntl(F_GETLK) stubbed\n");
break;
default:
kprintf("unsupported fcntl cmd 0x%x\n", cmd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment