svn commit: samba r20257 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

vlendec at samba.org vlendec at samba.org
Tue Dec 19 18:08:51 GMT 2006


Author: vlendec
Date: 2006-12-19 18:08:51 +0000 (Tue, 19 Dec 2006)
New Revision: 20257

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20257

Log:
Hey, change_owner_to_parent is now static :-)
Modified:
   branches/SAMBA_3_0/source/smbd/open.c
   branches/SAMBA_3_0_24/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2006-12-19 18:05:23 UTC (rev 20256)
+++ branches/SAMBA_3_0/source/smbd/open.c	2006-12-19 18:08:51 UTC (rev 20257)
@@ -84,10 +84,10 @@
  Do this by fd if possible.
 ****************************************************************************/
 
-void change_owner_to_parent(connection_struct *conn,
-			    files_struct *fsp,
-			    const char *fname,
-			    SMB_STRUCT_STAT *psbuf)
+static void change_owner_to_parent(connection_struct *conn,
+				   files_struct *fsp,
+				   const char *fname,
+				   SMB_STRUCT_STAT *psbuf)
 {
 	const char *parent_path = parent_dirname(fname);
 	SMB_STRUCT_STAT parent_st;

Modified: branches/SAMBA_3_0_24/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/open.c	2006-12-19 18:05:23 UTC (rev 20256)
+++ branches/SAMBA_3_0_24/source/smbd/open.c	2006-12-19 18:08:51 UTC (rev 20257)
@@ -84,10 +84,10 @@
  Do this by fd if possible.
 ****************************************************************************/
 
-void change_owner_to_parent(connection_struct *conn,
-			    files_struct *fsp,
-			    const char *fname,
-			    SMB_STRUCT_STAT *psbuf)
+static void change_owner_to_parent(connection_struct *conn,
+				   files_struct *fsp,
+				   const char *fname,
+				   SMB_STRUCT_STAT *psbuf)
 {
 	const char *parent_path = parent_dirname(fname);
 	SMB_STRUCT_STAT parent_st;



More information about the samba-cvs mailing list