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
| ||
|
Message-Id: <1343376074-28034-16-git-send-email-lczerner@redhat.com> Date: Fri, 27 Jul 2012 10:01:14 +0200 From: Lukas Czerner <lczerner@...hat.com> To: linux-fsdevel@...r.kernel.org Cc: linux-ext4@...r.kernel.org, tytso@....edu, hughd@...gle.com, linux-mmc@...r.kernel.org, Lukas Czerner <lczerner@...hat.com> Subject: [PATCH 15/15] ext4: Allow punch hole with bigalloc enabled In commits 5f95d21fb6f2aaa52830e5b7fb405f6c71d3ab85 and 30bc2ec9598a1b156ad75217f2e7d4560efdeeab we've reworked punch_hole implementation and there is noting holding us back from using punch hole on file system with bigalloc feature enabled. This has been tested with fsx and xfstests. Signed-off-by: Lukas Czerner <lczerner@...hat.com> --- fs/ext4/inode.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 2f950d6..7dc7f79 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -3383,11 +3383,6 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length) return -EOPNOTSUPP; } - if (EXT4_SB(inode->i_sb)->s_cluster_ratio > 1) { - /* TODO: Add support for bigalloc file systems */ - return -EOPNOTSUPP; - } - return ext4_ext_punch_hole(file, offset, length); } -- 1.7.7.6 -- 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