Blame SOURCES/coreutils-8.32-stat-exfat.patch

04161d
From b87f944c87ffe04db6e5476b007a8e4979de933d Mon Sep 17 00:00:00 2001
04161d
From: Kamil Dudka <kdudka@redhat.com>
04161d
Date: Thu, 18 Feb 2021 11:18:04 +0100
04161d
Subject: [PATCH] stat,tail: add support for the exfat file system
04161d
04161d
Bug: https://bugzilla.redhat.com/1921427
04161d
04161d
* src/stat.c (human_fstype): Add case for the 'exfat' file system type.
04161d
Fixes https://bugs.gnu.org/46613
04161d
04161d
Upstream-commit: a5e0d8f387e81e854427addbbaf2504541bbf4b9
04161d
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
04161d
---
04161d
 src/stat.c | 2 ++
04161d
 1 file changed, 2 insertions(+)
04161d
04161d
diff --git a/src/stat.c b/src/stat.c
04161d
index 8cd69da..4e1c8e3 100644
04161d
--- a/src/stat.c
04161d
+++ b/src/stat.c
04161d
@@ -361,6 +361,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
04161d
       return "efs";
04161d
     case S_MAGIC_EROFS_V1: /* 0xE0F5E1E2 local */
04161d
       return "erofs";
04161d
+    case S_MAGIC_EXFAT: /* 0x2011BAB0 local */
04161d
+      return "exfat";
04161d
     case S_MAGIC_EXFS: /* 0x45584653 local */
04161d
       return "exfs";
04161d
     case S_MAGIC_EXOFS: /* 0x5DF5 local */
04161d
-- 
04161d
2.26.2
04161d