git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f85cfa9
)
fix error code for read on a directory
author
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 01:48:11 +0000
(11:48 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 01:48:11 +0000
(11:48 +1000)
(This used to be commit
afd4f47971bc5f63b32c44dad546a1a4011b86f4
)
source4/ntvfs/posix/pvfs_read.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_read.c
b/source4/ntvfs/posix/pvfs_read.c
index a01a8a57e3b800595ebe434d9aed4a54ba76cab4..8e1a59473f2f08cd5c57deff3ef9c3b0e1cb96c0 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_read.c
+++ b/
source4/ntvfs/posix/pvfs_read.c
@@
-46,7
+46,7
@@
NTSTATUS pvfs_read(struct ntvfs_module_context *ntvfs,
}
if (f->handle->fd == -1) {
- return NT_STATUS_
FILE_IS_A_DIRECTORY
;
+ return NT_STATUS_
INVALID_DEVICE_REQUEST
;
}
mask = SEC_FILE_READ_DATA;