]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
fix #3945: Add "ocfs2" to list of filesystems known by "FsType" directive
authorAlain Spineux <alain@baculasystems.com>
Mon, 2 Jul 2018 15:48:09 +0000 (17:48 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 15 Jul 2018 05:57:20 +0000 (07:57 +0200)
- ocfs2 was not in our table of known filesystems

bacula/src/findlib/fstype.c

index 07cf94343191c33b1b7014a7b9bb334fb9ceb598..107f7a877f71af2245cc40b0b74b6b98906f859b 100644 (file)
@@ -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 */