diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-29 09:10:12 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-29 15:17:53 +0100 |
commit | a0235410aee5edab4a2a1af432bd73b5a1980d2d (patch) | |
tree | ba990a5dbb0ec1694d5b6559ddda911a51c11863 /source4/ntvfs | |
parent | d5f9559688c318cdd21608be05cf56dbfd3badb9 (diff) | |
download | samba-a0235410aee5edab4a2a1af432bd73b5a1980d2d.tar.gz samba-a0235410aee5edab4a2a1af432bd73b5a1980d2d.tar.bz2 samba-a0235410aee5edab4a2a1af432bd73b5a1980d2d.zip |
pvfs_setfileinfo: support renaming of directories
metze
(This used to be commit 2ecc7ec8b392cf3ec698d168bf6fb7898e1978f1)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_setfileinfo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 18647c95c5..5ac9cedc48 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -96,11 +96,6 @@ static NTSTATUS pvfs_setfileinfo_rename(struct pvfs_state *pvfs, return NT_STATUS_NOT_SUPPORTED; } - if (name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY) { - /* don't allow this for now */ - return NT_STATUS_FILE_IS_A_DIRECTORY; - } - /* don't allow stream renames for now */ if (name->stream_name) { return NT_STATUS_INVALID_PARAMETER; |