Cancelled incompatibility O_RDWR and O_WRONLY for open()

N2009_11_14_FIXES
jpandre 2007-11-07 09:21:17 +00:00
parent daf8003511
commit 1f7e99be09
1 changed files with 0 additions and 3 deletions

View File

@ -607,9 +607,6 @@ static int ntfs_fuse_open(const char *org_path,
int accesstype;
struct SECURITY_CONTEXT security;
/* O_WRONLY and O_RDWR are incompatible */
if ((fi->flags & O_WRONLY) && (fi->flags & O_RDWR))
return (-EINVAL);
stream_name_len = ntfs_fuse_parse_path(org_path, &path, &stream_name);
if (stream_name_len < 0)
return stream_name_len;