DEVEL15-excise-cplusplus-comments-from-kernel-20090609
authorDerrick Brashear <shadow@dementia.org>
Tue, 9 Jun 2009 22:11:04 +0000 (22:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Jun 2009 22:11:04 +0000 (22:11 +0000)
LICENSE IPL10

aix6 compiler doesn't allow // style comments

(cherry picked from commit 2ee2aa00bc689b7876dc589537a8f805d44eaef5)

src/afs/afs_disconnected.c
src/afs/afs_vcache.c

index 4755ff0..4c95707 100644 (file)
@@ -1108,7 +1108,7 @@ int afs_ResyncDisconFiles(struct vrequest *areq, struct AFS_UCRED *acred)
     int ucode;
     afs_int32 start = 0;
     XSTATS_DECLS;
-    //AFS_STATCNT(afs_ResyncDisconFiles);
+    /*AFS_STATCNT(afs_ResyncDisconFiles);*/
 
     ObtainWriteLock(&afs_disconDirtyLock, 707);
 
index bb93dd8..244abca 100644 (file)
@@ -1672,12 +1672,12 @@ int afs_WriteVCacheDiscon(register struct vcache *avc,
 
        if (astatus->Mask & AFS_SETOWNER) {
                printf("Not allowed yet. \n");
-               //avc->f.m.Owner = astatus->Owner;
+               /*avc->f.m.Owner = astatus->Owner;*/
        }
 
        if (astatus->Mask & AFS_SETGROUP) {
                printf("Not allowed yet. \n");
-               //avc->f.m.Group =  astatus->Group;
+               /*avc->f.m.Group =  astatus->Group;*/
        }
 
        if (astatus->Mask & AFS_SETMODE) {