[PATCH 22/49] ext4: hook fiemap operation for directories

Theodore Ts'o
2009-06-08T19:32:33Z

From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

Add fiemap callback for directories

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
fs/ext4/namei.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index c9690b2..f2bc160 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -2534,6 +2534,7 @@ const struct inode_operations ext4_dir_inode_operations = {
.removexattr = generic_removexattr,
#endif
.permission = ext4_permission,
+ .fiemap = ext4_fiemap,
};

const struct inode_operations ext4_special_inode_operations = {
--
1.6.3.2.1.gb9f7d.dirty