lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 4 Feb 2015 19:11:45 +0800 From: Xiaoguang Wang <wangxg.fnst@...fujitsu.com> To: <linux-ext4@...r.kernel.org> CC: <tytso@....edu>, <darrick.wong@...cle.com>, Xiaoguang Wang <wangxg.fnst@...fujitsu.com> Subject: [PATCH] ext4: fix comments in ext4_can_extents_be_merged() Since commit 66369e0, we are allowed to merge unwritten extents, so here these comments are wrong, remove it. Signed-off-by: Xiaoguang Wang <wangxg.fnst@...fujitsu.com> --- fs/ext4/extents.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index bed4308..2e6af88 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -1717,12 +1717,6 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, { unsigned short ext1_ee_len, ext2_ee_len; - /* - * Make sure that both extents are initialized. We don't merge - * unwritten extents so that we can be sure that end_io code has - * the extent that was written properly split out and conversion to - * initialized is trivial. - */ if (ext4_ext_is_unwritten(ex1) != ext4_ext_is_unwritten(ex2)) return 0; -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists