]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
linux-afsd-allow-ext3-journals-without-error-20011110
authorDavid Thompson <thomas@cs.wisc.edu>
Sat, 10 Nov 2001 18:21:59 +0000 (18:21 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 10 Nov 2001 18:21:59 +0000 (18:21 +0000)
an ext3 journal in the vice cache (root of the partition) is allowable

we have no useful way to discern ext2 from ext3 without groveling in fstab
so just allow it

src/afsd/afsd.c

index 5d4fb28da51e04b44bf0c871e0aa0e03adc3241a..e63a20e7eb40da3c90e0e779f5d69db870f21d1a 100644 (file)
@@ -806,6 +806,10 @@ static int doSweepAFSCache(vFilesFound,directory,dirNum,maxDir)
                  (strcmp(currp->d_name,         ".tags") == 0) ||
                  (strcmp(currp->d_name,         "quota.user") == 0) ||
                  (strcmp(currp->d_name,         "quota.group") == 0) ||
+#endif
+#ifdef AFS_LINUX22_ENV
+                 /* this is the ext3 journal file */
+                 (strcmp(currp->d_name,         ".journal") == 0) ||
 #endif
                  (strcmp(currp->d_name, "lost+found") == 0)) {
            /*