Skip to content

Commit

Permalink
vfs: Fix unsupported flag detection in vfs_openat().
Browse files Browse the repository at this point in the history
  • Loading branch information
wishstudio committed Feb 6, 2015
1 parent ff94dbf commit 35f87dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syscall/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ int vfs_openat(int dirfd, const char *pathname, int flags, int mode, struct file
if ((flags & O_DIRECT)
|| (flags & O_DSYNC)
|| (flags & O_LARGEFILE) || (flags & O_NOATIME) || (flags & O_NOCTTY)
|| (flags & O_NONBLOCK) || (flags & O_SYNC) || (flags & O_TMPFILE))
|| (flags & O_NONBLOCK) || (flags & __O_SYNC) || (flags & __O_TMPFILE))
{
log_error("Unsupported flag combination found.\n");
//return -EINVAL;
Expand Down

0 comments on commit 35f87dd

Please sign in to comment.