Author: jra Date: 2005-10-11 04:28:46 +0000 (Tue, 11 Oct 2005) New Revision: 10888
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10888 Log: We've already checked 'CAN_WRITE' so we don't need to do it again. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/dosmode.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/dosmode.c =================================================================== --- branches/SAMBA_3_0/source/smbd/dosmode.c 2005-10-11 04:28:29 UTC (rev 10887) +++ branches/SAMBA_3_0/source/smbd/dosmode.c 2005-10-11 04:28:46 UTC (rev 10888) @@ -479,7 +479,7 @@ */ /* Check if we have write access. */ - if (CAN_WRITE(conn) && can_write_to_file(conn, fname, &sbuf)) { + if (can_write_to_file(conn, fname, &sbuf)) { /* We are allowed to become root and change the filetime. */ become_root(); ret = SMB_VFS_UTIME(conn,fname, times);