summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_open.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-27 16:25:31 -0800
committerTim Prouty <tprouty@samba.org>2009-03-03 13:06:16 -0800
commit243d4e8a0846f9b873573ec504fb2f811be7d25c (patch)
treed9f6a3ee84649c8342dac483a26cce6613338d78 /source3/modules/onefs_open.c
parentb00204a46153a406a6c63792b1939bd3ad74ba71 (diff)
downloadsamba-243d4e8a0846f9b873573ec504fb2f811be7d25c.tar.gz
samba-243d4e8a0846f9b873573ec504fb2f811be7d25c.tar.bz2
samba-243d4e8a0846f9b873573ec504fb2f811be7d25c.zip
s3 OneFS: Add parameter to ignore streams
Diffstat (limited to 'source3/modules/onefs_open.c')
-rw-r--r--source3/modules/onefs_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c
index 9043be8e19..d3ba0ac979 100644
--- a/source3/modules/onefs_open.c
+++ b/source3/modules/onefs_open.c
@@ -196,7 +196,7 @@ static NTSTATUS onefs_open_file(files_struct *fsp,
&base, &stream);
}
/* It's a stream, so pass in the base_fd */
- if (stream != NULL) {
+ if ((conn->fs_capabilities & FILE_NAMED_STREAMS) && stream != NULL) {
SMB_ASSERT(fsp->base_fsp);
/*