diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2009-05-02 22:54:32 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-05-02 22:54:32 -0400 |
commit | abc8746eb91fb01e8d411896f80f7687c0d8372e (patch) | |
tree | b339a559ed8f33b4fe64b5fba5d7684b05d2e071 | |
parent | f40339031b04279c3fdde7ac5fe97db33b2a7694 (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.c | 1 |
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 = { | |||
2534 | .removexattr = generic_removexattr, | 2534 | .removexattr = generic_removexattr, |
2535 | #endif | 2535 | #endif |
2536 | .permission = ext4_permission, | 2536 | .permission = ext4_permission, |
2537 | .fiemap = ext4_fiemap, | ||
2537 | }; | 2538 | }; |
2538 | 2539 | ||
2539 | const struct inode_operations ext4_special_inode_operations = { | 2540 | const struct inode_operations ext4_special_inode_operations = { |