aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2023-03-04 01:21:19 +0800
committerTheodore Ts'o <[email protected]>2023-04-06 01:13:12 -0400
commit46825e949057481ccb1f0e52c512fd52f1938cb3 (patch)
tree8cafc304c707dd8d30536b71a8d698ad2ac521b7
parent3a037b1b889745b32c37d876223c7692721e8e95 (diff)
ext4: remove comment code ext4_discard_preallocations
Just remove comment code in ext4_discard_preallocations. Signed-off-by: Kemeng Shi <[email protected]> Reviewed-by: Ojaswin Mujoo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
-rw-r--r--fs/ext4/mballoc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 59aa42457fca..4c02a9263eb9 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4926,7 +4926,6 @@ void ext4_discard_preallocations(struct inode *inode, unsigned int needed)
int err;
if (!S_ISREG(inode->i_mode)) {
- /*BUG_ON(!list_empty(&ei->i_prealloc_list));*/
return;
}