diff options
author | Tristan Ye <tristan.ye@oracle.com> | 2009-12-17 05:42:16 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-12-18 00:21:32 -0500 |
commit | 55f4946ed23cbf78efe9f818c4b55e890fe2beff (patch) | |
tree | 354bcbe5424a2923f3e4b84689fc751a303e6ab6 /fs | |
parent | faf8b70f79edf56fedd531dfcd41f3e73c3e9696 (diff) |
Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode?
Let userspace have a chance to get the extent info of a
directory just like extN did.
Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/namei.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index f010b22b1c44..0b9f35e09bf8 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
@@ -2326,4 +2326,5 @@ const struct inode_operations ocfs2_dir_iops = { | |||
2326 | .getxattr = generic_getxattr, | 2326 | .getxattr = generic_getxattr, |
2327 | .listxattr = ocfs2_listxattr, | 2327 | .listxattr = ocfs2_listxattr, |
2328 | .removexattr = generic_removexattr, | 2328 | .removexattr = generic_removexattr, |
2329 | .fiemap = ocfs2_fiemap, | ||
2329 | }; | 2330 | }; |