summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorWilliam Hansen-Baird <william.hansen.baird@gmail.com>2026-01-21 19:04:34 -0500
committerNamjae Jeon <linkinjeon@kernel.org>2026-02-12 21:21:51 +0900
commitc1f57406672ba6644ebc437b70a139115b68a0dc (patch)
tree02cb2da2d3d8e875176f75c5e329e634727df571 /fs
parent5e37a4577f95d93903c5754c6bac921ac39b557e (diff)
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@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/exfat/fatent.c1
-rw-r--r--fs/exfat/file.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/exfat/fatent.c b/fs/exfat/fatent.c
index 71ee16479c43..f87576ca7032 100644
--- a/fs/exfat/fatent.c
+++ b/fs/exfat/fatent.c
@@ -207,6 +207,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 c0a19f8716e6..90cd540afeaa 100644
--- a/fs/exfat/file.c
+++ b/fs/exfat/file.c
@@ -683,6 +683,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;
}