diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-27 19:09:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-27 19:09:59 +0000 |
commit | f96625ec124adb6e110dc54632e006b3620a962b (patch) | |
tree | 599308b187d6be1c86e6f91279e6822985649e1c /source/smbd/reply.c | |
parent | 0f707ac1fb5685b800d6599b9074ec1d4e65b1c1 (diff) | |
download | samba-f96625ec124adb6e110dc54632e006b3620a962b.tar.gz samba-f96625ec124adb6e110dc54632e006b3620a962b.tar.xz samba-f96625ec124adb6e110dc54632e006b3620a962b.zip |
Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 9dd5a9ef68d..8624bdb9b4a 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -1100,7 +1100,7 @@ int reply_getatr(connection_struct *conn, char *inbuf,char *outbuf, int dum_size unix_convert(fname,conn,0,&bad_path,&sbuf); if (check_name(fname,conn)) { - if (VALID_STAT(sbuf) || dos_stat(fname,&sbuf) == 0) + if (VALID_STAT(sbuf) || vfs_stat(conn,fname,&sbuf) == 0) { mode = dos_mode(conn,fname,&sbuf); size = sbuf.st_size; |