From: David Thompson Date: Sat, 10 Nov 2001 18:21:59 +0000 (+0000) Subject: linux-afsd-allow-ext3-journals-without-error-20011110 X-Git-Tag: openafs-devel-1_3_0~139 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9d8b844b3ece9cbf1c2c8a263d5219be06841590;p=packages%2Fo%2Fopenafs.git linux-afsd-allow-ext3-journals-without-error-20011110 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 --- diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 5d4fb28da..e63a20e7e 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -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)) { /*