diff options
author | Björn Jacke <bj@sernet.de> | 2010-11-18 16:04:03 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-12-17 21:11:04 +0100 |
commit | ebe56006155b49a4a21a909a7bbdf7b9debc35b0 (patch) | |
tree | 636013eb1b7de5393d57c5132f6147315f89e97a /source3 | |
parent | c4a887538d6a30b39fce8ff7857f5abd868342a5 (diff) | |
download | samba-ebe56006155b49a4a21a909a7bbdf7b9debc35b0.tar.gz samba-ebe56006155b49a4a21a909a7bbdf7b9debc35b0.tar.bz2 samba-ebe56006155b49a4a21a909a7bbdf7b9debc35b0.zip |
s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/dosmode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 7faeb44d2f..ab0c2384c2 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -555,6 +555,8 @@ static bool get_stat_dos_flags(connection_struct *conn, *dosmode |= aSYSTEM; if (smb_fname->st.st_ex_flags & UF_DOS_NOINDEX) *dosmode |= FILE_ATTRIBUTE_NONINDEXED; + if (smb_fname->st.st_ex_flags & FILE_ATTRIBUTE_SPARSE) + *dosmode |= FILE_ATTRIBUTE_SPARSE; if (S_ISDIR(smb_fname->st.st_ex_mode)) *dosmode |= aDIR; |