From: Alain Spineux Date: Mon, 2 Jul 2018 15:48:09 +0000 (+0200) Subject: fix #3945: Add "ocfs2" to list of filesystems known by "FsType" directive X-Git-Tag: Release-9.2.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be67a37a75744034b8144c51faac8c1f14a3f1fd;p=thirdparty%2Fbacula.git fix #3945: Add "ocfs2" to list of filesystems known by "FsType" directive - ocfs2 was not in our table of known filesystems --- diff --git a/bacula/src/findlib/fstype.c b/bacula/src/findlib/fstype.c index 07cf94343..107f7a877 100644 --- a/bacula/src/findlib/fstype.c +++ b/bacula/src/findlib/fstype.c @@ -235,6 +235,7 @@ bool fstype(FF_PKT *ff_pkt, char *fs, int fslen) case 0x012FF7B4: fstype = "xenix"; break; case 0x012FD16D: fstype = "xiafs"; break; case 0x9123683e: fstype = "btrfs"; break; + case 0x7461636f: fstype = "ocfs2"; break; /* OCFS2_SUPER_MAGIC */ #if 0 /* These need confirmation */ case 0x6B414653: fstype = "afs"; break; /* AFS_FS_MAGIC */