diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-03-03 20:21:19 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 08:13:12 +0300 |
commit | 46825e949057481ccb1f0e52c512fd52f1938cb3 (patch) | |
tree | 8cafc304c707dd8d30536b71a8d698ad2ac521b7 /fs/ext4/mballoc.c | |
parent | 3a037b1b889745b32c37d876223c7692721e8e95 (diff) | |
download | linux-46825e949057481ccb1f0e52c512fd52f1938cb3.tar.xz |
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.c | 1 |
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; } |