diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 15:20:57 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 15:20:57 +0200 |
commit | 1186579f94d81bc633b8f20e8ad8673313c8c39b (patch) | |
tree | fff2d454029e413304b5679b1c262e3e9e1b87bb /source4/ntvfs/posix/pvfs_fileinfo.c | |
parent | 0b62a0875f01370f9db10c45253966f4fed74272 (diff) | |
parent | 2f653e814a593e4581f28f8ed8158a84a591e9b4 (diff) | |
download | samba-1186579f94d81bc633b8f20e8ad8673313c8c39b.tar.gz samba-1186579f94d81bc633b8f20e8ad8673313c8c39b.tar.bz2 samba-1186579f94d81bc633b8f20e8ad8673313c8c39b.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into docstrings2
(This used to be commit 7ca46322f5aa650cfd89c4f887393da67ae9dc7b)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_fileinfo.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_fileinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_fileinfo.c b/source4/ntvfs/posix/pvfs_fileinfo.c index e35f42e955..04f6ad78d0 100644 --- a/source4/ntvfs/posix/pvfs_fileinfo.c +++ b/source4/ntvfs/posix/pvfs_fileinfo.c @@ -58,6 +58,8 @@ NTSTATUS pvfs_fill_dos_info(struct pvfs_state *pvfs, struct pvfs_filename *name, if (S_ISDIR(name->st.st_mode)) { name->st.st_size = 0; name->st.st_nlink = 1; + } else if (name->stream_id == 0) { + name->stream_name = NULL; } /* for now just use the simple samba mapping */ |