[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260122000451.160907-2-william.hansen.baird@gmail.com>
Date: Wed, 21 Jan 2026 19:04:34 -0500
From: William Hansen-Baird <william.hansen.baird@...il.com>
To: linkinjeon@...nel.org,
sj1557.seo@...sung.com
Cc: yuezhang.mo@...y.com,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
William Hansen-Baird <william.hansen.baird@...il.com>
Subject: [PATCH 2/2] exfat: add blank line after declarations
Add a blank line after variable declarations in fatent.c and file.c.
This improves readability and makes code style more consistent
across the exfat subsystem.
Signed-off-by: William Hansen-Baird <william.hansen.baird@...il.com>
---
fs/exfat/fatent.c | 1 +
fs/exfat/file.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/fs/exfat/fatent.c b/fs/exfat/fatent.c
index c9c5f2e3a05e..543ce7e8d367 100644
--- a/fs/exfat/fatent.c
+++ b/fs/exfat/fatent.c
@@ -192,6 +192,7 @@ static int __exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain
if (p_chain->flags == ALLOC_NO_FAT_CHAIN) {
int err;
unsigned int last_cluster = p_chain->dir + p_chain->size - 1;
+
do {
bool sync = false;
diff --git a/fs/exfat/file.c b/fs/exfat/file.c
index 536c8078f0c1..c7cfa28a3e11 100644
--- a/fs/exfat/file.c
+++ b/fs/exfat/file.c
@@ -682,6 +682,7 @@ static ssize_t exfat_file_write_iter(struct kiocb *iocb, struct iov_iter *iter)
if (iocb->ki_pos > pos) {
ssize_t err = generic_write_sync(iocb, iocb->ki_pos - pos);
+
if (err < 0)
return err;
}
--
2.52.0
Powered by blists - more mailing lists