|
@ -58,6 +58,13 @@ namespace l |
|
|
return ((flags_ & O_ACCMODE) == O_RDONLY); |
|
|
return ((flags_ & O_ACCMODE) == O_RDONLY); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static |
|
|
|
|
|
bool |
|
|
|
|
|
wronly(const int flags_) |
|
|
|
|
|
{ |
|
|
|
|
|
return ((flags_ & O_ACCMODE) == O_WRONLY); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
static |
|
|
static |
|
|
bool |
|
|
bool |
|
|
calculate_flush(FlushOnClose const flushonclose_, |
|
|
calculate_flush(FlushOnClose const flushonclose_, |
|
@ -278,6 +285,7 @@ namespace FUSE |
|
|
case PassthroughEnum::off: |
|
|
case PassthroughEnum::off: |
|
|
return rv; |
|
|
return rv; |
|
|
case PassthroughEnum::ro: |
|
|
case PassthroughEnum::ro: |
|
|
|
|
|
if(ffi_->flags & O_ |
|
|
case PassthroughEnum::wo: |
|
|
case PassthroughEnum::wo: |
|
|
case PassthroughEnum::rw: |
|
|
case PassthroughEnum::rw: |
|
|
return l::passthrough(fc,ffi_); |
|
|
return l::passthrough(fc,ffi_); |
|
|