The Samba-Bugzilla – Attachment 6145 Details for
Bug 7815
sparse bit handling needs to be more windows-like
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0007-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch
0007-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch (text/plain), 907 bytes, created by
Björn Jacke
on 2010-12-16 17:30:13 UTC
(
hide
)
Description:
0007-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2010-12-16 17:30:13 UTC
Size:
907 bytes
patch
obsolete
>From c992716c6cc852567e5f4bea41341bd3fcb7bbe3 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Thu, 18 Nov 2010 17:27:32 +0100 >Subject: [PATCH 7/8] s3: don't do strict allocate with sparse files **** TODO **** > >--- > source3/modules/vfs_default.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c >index 66dd5a9..764039e 100644 >--- a/source3/modules/vfs_default.c >+++ b/source3/modules/vfs_default.c >@@ -894,7 +894,7 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O > > START_PROFILE(syscall_ftruncate); > >- if (lp_strict_allocate(SNUM(fsp->conn))) { >+ if (lp_strict_allocate(SNUM(fsp->conn))) { /* TODO: ... && SPARSE flag set */ > result = strict_allocate_ftruncate(handle, fsp, len); > END_PROFILE(syscall_ftruncate); > return result; >-- >1.7.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7815
:
6139
|
6140
|
6141
|
6142
|
6143
|
6144
| 6145 |
6146
|
6147
|
6148
|
6149
|
6150
|
6155