git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Keep track of the sparse status of an open file handle. Allows bypass of
[ira/wip.git]
/
source3
/
smbd
/
dosmode.c
diff --git
a/source3/smbd/dosmode.c
b/source3/smbd/dosmode.c
index 2c6dcd00c6cd434805a107be943517a0ed732c02..cf95348583e1d7b26f0793845b8936a2ed8b30f6 100644
(file)
--- a/
source3/smbd/dosmode.c
+++ b/
source3/smbd/dosmode.c
@@
-911,6
+911,8
@@
NTSTATUS file_set_sparse(connection_struct *conn,
FILE_NOTIFY_CHANGE_ATTRIBUTES,
fsp->fsp_name->base_name);
+ fsp->is_sparse = sparse;
+
return NT_STATUS_OK;
}