[PVFS2-CVS]
commit by pcarns in pvfs2/src/client/sysint: pint-sysint-utils.h
sys-create.sm sys-mkdir.sm sys-setattr.sm sys-symlink.sm
CVS commit program
cvs at parl.clemson.edu
Wed Jul 21 13:50:37 EDT 2004
Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv2491/src/client/sysint
Modified Files:
pint-sysint-utils.h sys-create.sm sys-mkdir.sm sys-setattr.sm
sys-symlink.sm
Log Message:
move PINT_CONVERT_ATTR macro to common subdir (pint-util.h)
Index: pint-sysint-utils.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/pint-sysint-utils.h,v
diff -p -u -r1.20 -r1.21
--- pint-sysint-utils.h 8 Jul 2004 20:06:48 -0000 1.20
+++ pint-sysint-utils.h 21 Jul 2004 16:50:37 -0000 1.21
@@ -29,19 +29,6 @@
#include "trove.h"
#include "server-config.h"
-/* converts common fields between sys attr and obj attr structures */
-#define PINT_CONVERT_ATTR(dest, src, attrmask) \
-do{ \
- (dest)->owner = (src)->owner; \
- (dest)->group = (src)->group; \
- (dest)->perms = (src)->perms; \
- (dest)->atime = (src)->atime; \
- (dest)->mtime = (src)->mtime; \
- (dest)->ctime = (src)->ctime; \
- (dest)->objtype = (src)->objtype; \
- (dest)->mask = ((src)->mask & attrmask); \
-}while(0)
-
/* maps bmi address to handle ranges/extents */
typedef struct bmi_host_extent_table_s
{
Index: sys-create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-create.sm,v
diff -p -u -r1.53 -r1.54
--- sys-create.sm 13 Jul 2004 20:44:42 -0000 1.53
+++ sys-create.sm 21 Jul 2004 16:50:37 -0000 1.54
@@ -18,6 +18,7 @@
#include "pint-distribution.h"
#include "PINT-reqproto-encode.h"
#include "shared-state-methods.h"
+#include "pint-util.h"
extern job_context_id pint_client_sm_context;
Index: sys-mkdir.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-mkdir.sm,v
diff -p -u -r1.30 -r1.31
--- sys-mkdir.sm 13 Jul 2004 17:37:19 -0000 1.30
+++ sys-mkdir.sm 21 Jul 2004 16:50:37 -0000 1.31
@@ -17,6 +17,7 @@
#include "pint-cached-config.h"
#include "PINT-reqproto-encode.h"
#include "shared-state-methods.h"
+#include "pint-util.h"
extern job_context_id pint_client_sm_context;
Index: sys-setattr.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-setattr.sm,v
diff -p -u -r1.24 -r1.25
--- sys-setattr.sm 13 Jul 2004 17:37:19 -0000 1.24
+++ sys-setattr.sm 21 Jul 2004 16:50:37 -0000 1.25
@@ -17,6 +17,7 @@
#include "pint-cached-config.h"
#include "PINT-reqproto-encode.h"
#include "shared-state-methods.h"
+#include "pint-util.h"
extern job_context_id pint_client_sm_context;
Index: sys-symlink.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-symlink.sm,v
diff -p -u -r1.36 -r1.37
--- sys-symlink.sm 13 Jul 2004 17:37:20 -0000 1.36
+++ sys-symlink.sm 21 Jul 2004 16:50:37 -0000 1.37
@@ -17,6 +17,7 @@
#include "pint-cached-config.h"
#include "PINT-reqproto-encode.h"
#include "shared-state-methods.h"
+#include "pint-util.h"
extern job_context_id pint_client_sm_context;
More information about the PVFS2-CVS
mailing list