summaryrefslogtreecommitdiffstats
path: root/fs/ext4/indirect.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-09-21 20:47:38 +0800
committerTheodore Ts'o <tytso@mit.edu>2020-10-18 10:36:59 -0400
commit2be7d717cafc893d4487cbc7f018d1174537fa2e (patch)
treef7ef3ff6019a6584520121fc47ebfd1b929a6c33 /fs/ext4/indirect.c
parent9faac62d40131521973192e46a82d5066bb42c09 (diff)
downloadlinux-2be7d717cafc893d4487cbc7f018d1174537fa2e.tar.gz
linux-2be7d717cafc893d4487cbc7f018d1174537fa2e.tar.bz2
linux-2be7d717cafc893d4487cbc7f018d1174537fa2e.zip
ext4: add trace exit in exception path.
Missing trace exit in exception path of ext4_sync_file and ext4_ind_map_blocks. Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Link: https://lore.kernel.org/r/20200921124738.23352-1-zhangqilong3@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/indirect.c')
-rw-r--r--fs/ext4/indirect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/indirect.c b/fs/ext4/indirect.c
index a56ce3873e6d..23e504a40cd7 100644
--- a/fs/ext4/indirect.c
+++ b/fs/ext4/indirect.c
@@ -593,7 +593,8 @@ int ext4_ind_map_blocks(handle_t *handle, struct inode *inode,
if (ext4_has_feature_bigalloc(inode->i_sb)) {
EXT4_ERROR_INODE(inode, "Can't allocate blocks for "
"non-extent mapped inodes with bigalloc");
- return -EFSCORRUPTED;
+ err = -EFSCORRUPTED;
+ goto out;
}
/* Set up for the direct block allocation */