]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-linux-afsd-allow-ext3-journals-without-error-20011226
authorDavid Thompson <thomas@cs.wisc.edu>
Wed, 26 Dec 2001 20:34:43 +0000 (20:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:34:43 +0000 (20:34 +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 66f507afa8f0f3440859cb77364915f955c05831..03351da20eff377428eb11319eb066f4de058bbd 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)) {
            /*