summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-03-04 01:21:19 +0800
committerTheodore Ts'o <tytso@mit.edu>2023-04-06 01:13:12 -0400
commit46825e949057481ccb1f0e52c512fd52f1938cb3 (patch)
tree8cafc304c707dd8d30536b71a8d698ad2ac521b7 /fs/ext4/mballoc.c
parent3a037b1b889745b32c37d876223c7692721e8e95 (diff)
downloadlinux-stable-46825e949057481ccb1f0e52c512fd52f1938cb3.tar.gz
linux-stable-46825e949057481ccb1f0e52c512fd52f1938cb3.tar.bz2
linux-stable-46825e949057481ccb1f0e52c512fd52f1938cb3.zip
ext4: remove comment code ext4_discard_preallocations
Just remove comment code in ext4_discard_preallocations. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://lore.kernel.org/r/20230303172120.3800725-20-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-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;
}