diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-04-19 22:24:40 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-04-19 22:44:49 +0200 |
commit | 8c4b37178c8e7cfcbb37682180c697cb6e55cb34 (patch) | |
tree | 314d261e82bce7ec96ec26cab00e9375b6fc7979 /fatfs/inode.c | |
parent | f564f46dad5ccdcb87c7b56d0c58e9afe4ff49f3 (diff) |
libdiskfs: Fix catching exceptionsv0.9.git20250420
This fixes making diskfs_catch_exception recursive, catching the last
fault exception, and fixes callers.
Diffstat (limited to 'fatfs/inode.c')
-rw-r--r-- | fatfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatfs/inode.c b/fatfs/inode.c index c38ee0d9..cefcba47 100644 --- a/fatfs/inode.c +++ b/fatfs/inode.c @@ -533,8 +533,8 @@ diskfs_truncate (struct node *node, loff_t length) { fat_truncate_node(node, round_cluster(length) >> log2_bytes_per_cluster); node->allocsize = round_cluster(length); + diskfs_end_catch_exception (); } - diskfs_end_catch_exception (); node->dn_set_mtime = 1; node->dn_set_ctime = 1; |