summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2009-05-02 22:54:32 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-05-02 22:54:32 -0400
commitabc8746eb91fb01e8d411896f80f7687c0d8372e (patch)
treeb339a559ed8f33b4fe64b5fba5d7684b05d2e071
parentf40339031b04279c3fdde7ac5fe97db33b2a7694 (diff)
ext4: hook fiemap operation for directories
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>
-rw-r--r--fs/ext4/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index c9690b250e5e..f2bc160463b7 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 = {