ext4: hook fiemap operation for directories
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 3 May 2009 02:54:32 +0000 (22:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 May 2009 02:54:32 +0000 (22:54 -0400)
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

index c9690b250e5e1fc312bb761bdd8f64a086584083..f2bc160463b724495dcd5d7beb2cba7ab010e423 100644 (file)
@@ -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 = {