[PVFS2-users] Re: Timestamp metadata, heterogenous architecture, files and directory not accessible

Ekow Otoo ekw at hpcrd.lbl.gov
Mon Oct 31 09:18:30 EST 2005


Skipped content of type multipart/alternative-------------- next part --------------
Index: src/server/pvfs2-server.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/server/pvfs2-server.h,v
retrieving revision 1.121
diff -u -w -p -r1.121 pvfs2-server.h
--- src/server/pvfs2-server.h   23 Aug 2005 18:44:20 -0000      1.121
+++ src/server/pvfs2-server.h   13 Oct 2005 20:48:32 -0000
@@ -369,6 +369,9 @@ typedef struct PINT_server_op
  *
  * no return value
  */
+#ifdef GOSSIP_DISABLE_DEBUG
+#define PINT_ACCESS_DEBUG(__s_op, __mask, format, f...) do {} while (0)
+#else
 #define PINT_ACCESS_DEBUG(__s_op, __mask, format, f...)                     \
 do {                                                                        \
     PVFS_handle __handle;                                                   \
@@ -398,6 +401,7 @@ do {                                    
         __gossip_debug(__mask, 'A', __pint_access_buffer, ##f);             \
     }                                                                       \
 } while(0);
+#endif
 
 /* server operation state machines */
 extern struct PINT_state_machine_s pvfs2_get_config_sm;


-------------- next part --------------
---------------------
PatchSet 4575 
Date: 2005/10/18 17:29:48
Author: robl
Branch: HEAD
Tag: (none) 
Log:
fix typos.  turns out Fedora Core 3's 2.6.9 kernel hits this code path

Members: 
        src/kernel/linux-2.6/acl.c:1.5->1.6 

Index: pvfs2-1/src/kernel/linux-2.6/acl.c
diff -u pvfs2-1/src/kernel/linux-2.6/acl.c:1.5 pvfs2-1/src/kernel/linux-2.6/acl.c:1.6
--- pvfs2-1/src/kernel/linux-2.6/acl.c:1.5      Tue Oct 11 17:43:29 2005
+++ pvfs2-1/src/kernel/linux-2.6/acl.c  Tue Oct 18 12:29:48 2005
@@ -538,12 +538,13 @@
 #else
     /* We sort of duplicate the code below from generic_permission */
     int mode = inode->i_mode;
+    int error;
     /* No write access on a rdonly FS */
     if ((mask & MAY_WRITE) && IS_RDONLY(inode) &&
             (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)))
         return -EROFS;
     /* No write access to any immutable files */
-    if ((mask & MAY_WRITE) && IS_IMMMUTABLE(inode))
+    if ((mask & MAY_WRITE) && IS_IMMUTABLE(inode))
         return -EACCES;
     if (current->fsuid == inode->i_uid) {
         mode >>= 6;

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA                B29D F333 664A 4280 315B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dist-time.patch
Type: text/x-patch
Size: 7714 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20051031/a56173bc/dist-time-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perms.patch
Type: text/x-patch
Size: 19669 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20051031/a56173bc/perms-0001.bin


More information about the PVFS2-users mailing list