diff options
author | Tim Prouty <tprouty@samba.org> | 2009-07-08 14:08:04 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-07-08 21:36:04 -0700 |
commit | 161e182b65ceda833e0bebc48ef404cdd399f8d7 (patch) | |
tree | bd2d58a61d48839f74691305ed8f2072cc2bea37 /source3/smbd/trans2.c | |
parent | 1a1d10d22f7a2eebd22e76614c3c74b4d49e5c33 (diff) | |
download | samba-161e182b65ceda833e0bebc48ef404cdd399f8d7.tar.gz samba-161e182b65ceda833e0bebc48ef404cdd399f8d7.tar.bz2 samba-161e182b65ceda833e0bebc48ef404cdd399f8d7.zip |
s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()
Actually I moved split_ntfs_stream_name into torture.c which is the one
consumer of it. This could probably be changed at some point.
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 62280ddde0..f22700deaa 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1421,6 +1421,7 @@ static bool get_lanman2_dir_entry(TALLOC_CTX *ctx, &smb_fname); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(fname); + return false; } if (INFO_LEVEL_IS_UNIX(info_level)) { @@ -5554,7 +5555,7 @@ static NTSTATUS smb_file_rename_information(connection_struct *conn, } } else { /* newname must *not* be a stream name. */ - if (is_ntfs_stream_name(newname)) { + if (newname[0] == ':') { return NT_STATUS_NOT_SUPPORTED; } |