summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2022-02-09 20:00:28 +0200
committerMichael Bestas <mkbestas@lineageos.org>2022-02-09 20:00:28 +0200
commit2e69f2ae550dcfbde1ffb6daa11492762b122191 (patch)
tree598e8922509ca50771d3a609d0c63eca90a1ecb2 /fs/ext4/super.c
parent82e44f01405d6fcccef53c5d2c95cf2fbbda9075 (diff)
parent5626e6fca8c361bc552bf8005d19c301eddea784 (diff)
Merge remote-tracking branch 'msm8998/lineage-18.1' into lineage-18.1
Change-Id: I073391b643e7886de4ca06ca24caab848510f2bd
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 7e3b5d7fc56b..6d3b72c959c8 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -5370,7 +5370,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
struct buffer_head *bh;
handle_t *handle = journal_current_handle();
- if (EXT4_SB(sb)->s_journal && !handle) {
+ if (!handle) {
ext4_msg(sb, KERN_WARNING, "Quota write (off=%llu, len=%llu)"
" cancelled because transaction is not started",
(unsigned long long)off, (unsigned long long)len);