1
From: Ben Hutchings <ben@decadent.org.uk>
2
Date: Tue, 15 Mar 2011 05:35:24 +0000
3
Subject: [PATCH] ext4: Disable FS_IOC_FIEMAP ioctl temporarily
5
ext4 does not implement the fiemap operation correctly for extents
6
that are subject to delayed allocation. A fix is pending, but until
7
that has been well-tested let's disable it.
10
fs/ext4/namei.c | 2 ++
11
2 files changed, 4 insertions(+), 0 deletions(-)
13
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
14
index 7b80d54..6b1b1ec 100644
17
@@ -282,6 +282,8 @@ const struct inode_operations ext4_file_inode_operations = {
18
.removexattr = generic_removexattr,
20
.check_acl = ext4_check_acl,
22
.fiemap = ext4_fiemap,
26
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
27
index 5485390..dc5961d 100644
30
@@ -2539,7 +2539,9 @@ const struct inode_operations ext4_dir_inode_operations = {
31
.removexattr = generic_removexattr,
33
.check_acl = ext4_check_acl,
35
.fiemap = ext4_fiemap,
39
const struct inode_operations ext4_special_inode_operations = {