git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8d7de3
)
posix_fallocate() returns an errno, not -1 on error.
author
Jeremy Allison
<jra@samba.org>
Fri, 3 Dec 2010 01:46:30 +0000
(17:46 -0800)
committer
Jeremy Allison
<jra@samba.org>
Fri, 3 Dec 2010 01:55:05 +0000
(
02:55
+0100)
source3/modules/vfs_streams_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index 8870c6e47101dc8b186ede4f080e150dd95d4832..819f33d36eb5eec66b6cdb714f8c3c829096984a 100644
(file)
--- a/
source3/modules/vfs_streams_xattr.c
+++ b/
source3/modules/vfs_streams_xattr.c
@@
-1040,7
+1040,7
@@
static int streams_xattr_posix_fallocate(struct vfs_handle_struct *handle,
}
if (!streams_xattr_recheck(sio)) {
- return
-1
;
+ return
errno
;
}
/* Let the pwrite code path handle it. */