summaryrefslogtreecommitdiff
path: root/fs/ext4/fsync.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-09-21 15:47:38 +0300
committerTheodore Ts'o <tytso@mit.edu>2020-10-18 17:36:59 +0300
commit2be7d717cafc893d4487cbc7f018d1174537fa2e (patch)
treef7ef3ff6019a6584520121fc47ebfd1b929a6c33 /fs/ext4/fsync.c
parent9faac62d40131521973192e46a82d5066bb42c09 (diff)
downloadlinux-2be7d717cafc893d4487cbc7f018d1174537fa2e.tar.xz
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/fsync.c')
-rw-r--r--fs/ext4/fsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
index 1d668c8f131f..6476994d9861 100644
--- a/fs/ext4/fsync.c
+++ b/fs/ext4/fsync.c
@@ -150,7 +150,7 @@ int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
ret = file_write_and_wait_range(file, start, end);
if (ret)
- return ret;
+ goto out;
/*
* data=writeback,ordered: