]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #5871 About allowing zfs for 'fstype'
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Tue, 18 Jan 2022 12:35:49 +0000 (13:35 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
bacula/src/findlib/fstype.c

index df90b9563ecdc161337878cfabb29a5990d18962..777a65b150f5965f7926f860299ea3664b1f7fce 100644 (file)
@@ -330,6 +330,7 @@ bool fstype(char *fname, FF_PKT *ff_pkt, char *fs, int fslen)
       case 0x012FD16D:     fstype = "xiafs"; break;
       case 0x9123683e:     fstype = "btrfs"; break;
       case 0x7461636f:     fstype = "ocfs2"; break;         /* OCFS2_SUPER_MAGIC */
+      case 0x2fc12fc1:     fstype = "zfs"; break;
 
 #if 0       /* These need confirmation */
       case 0x6B414653:     fstype = "afs"; break;           /* AFS_FS_MAGIC */