Skip to contentSkip to conversation

fs/ntfs3: clarify why $Extend init is being skipped

PATCH In review Enrico Mioso 2 participants 2 messages Oct 26, 2021 NTFS3 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/ntfs3: clarify why $Extend init is being skipped

$Extend init may be skipped due to NTFS version lower than 3. Be more clear on this.

---
 fs/ntfs3/fsntfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs3/fsntfs.c +1 -1
index 4de9acb16968..abe74dc9ce31 100644
@@ -189,7 +189,7 @@ int ntfs_extend_init(struct ntfs_sb_info *sbi)
 	struct MFT_REF ref;
 
 	if (sbi->volume.major_ver < 3) {
-		ntfs_notice(sb, "Skip $Extend 'cause NTFS version");
+		ntfs_notice(sb, "Skipping $Extend init due to NTFS version lower than 3");
 		return 0;
 	}
 
Signature · 1 line
2.33.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Enrico Mioso

$Extend init may be skipped due to NTFS version lower than 3. Be more clear on this.

Git does not do line wrapping for you. I check couple your other patch too and you have made same mistake. Many git tool can make this automatically, but many does not done it by default. This should look like:

$Extend init may be skipped due to NTFS version lower than 3. Be more clear on this.

Quoted 1 line

After you fix it

Thanks a lot for your patch and intrest for ntfs3.

Quoted 19 lines
---
 fs/ntfs3/fsntfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs3/fsntfs.c +1 -1
index 4de9acb16968..abe74dc9ce31 100644
@@ -189,7 +189,7 @@ int ntfs_extend_init(struct ntfs_sb_info *sbi)
 	struct MFT_REF ref;
 
 	if (sbi->volume.major_ver < 3) {
-		ntfs_notice(sb, "Skip $Extend 'cause NTFS version");
+		ntfs_notice(sb, "Skipping $Extend init due to NTFS version lower than 3");
 		return 0;
 	}
 
Signature · 1 line
2.33.1