summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_jbd2.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-03-28 10:56:32 +0100
committerIngo Molnar <mingo@kernel.org>2019-03-28 10:58:28 +0100
commitcfa637cb20e96fe8cf44b867a7d7c34649cbf8eb (patch)
tree52591d7b53600d5d39369525a356ccb81e22fcd9 /fs/ext4/ext4_jbd2.h
parentdb779ef67ffeadbb44e9e818eb64dbe528e2f48f (diff)
parent8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff)
downloadblackbird-op-linux-cfa637cb20e96fe8cf44b867a7d7c34649cbf8eb.tar.gz
blackbird-op-linux-cfa637cb20e96fe8cf44b867a7d7c34649cbf8eb.zip
Merge tag 'v5.1-rc2' into core/urgent, to resolve a conflict
Conflicts: include/linux/kcore.h Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
-rw-r--r--fs/ext4/ext4_jbd2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
index a1ac7e9245ec..75a5309f2231 100644
--- a/fs/ext4/ext4_jbd2.h
+++ b/fs/ext4/ext4_jbd2.h
@@ -384,7 +384,7 @@ static inline void ext4_update_inode_fsync_trans(handle_t *handle,
{
struct ext4_inode_info *ei = EXT4_I(inode);
- if (ext4_handle_valid(handle)) {
+ if (ext4_handle_valid(handle) && !is_handle_aborted(handle)) {
ei->i_sync_tid = handle->h_transaction->t_tid;
if (datasync)
ei->i_datasync_tid = handle->h_transaction->t_tid;
OpenPOWER on IntegriCloud