projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf8b70
)
Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode?
author
Tristan Ye
<tristan.ye@oracle.com>
Thu, 17 Dec 2009 10:42:16 +0000
(18:42 +0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 18 Dec 2009 05:21:32 +0000
(21:21 -0800)
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>
fs/ocfs2/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/namei.c
b/fs/ocfs2/namei.c
index f010b22b1c4412046a56c24c100efdf032ddf52d..0b9f35e09bf8640d3f940eb60015c198a5792a8b 100644
(file)
--- a/
fs/ocfs2/namei.c
+++ b/
fs/ocfs2/namei.c
@@
-2326,4
+2326,5
@@
const struct inode_operations ocfs2_dir_iops = {
.getxattr = generic_getxattr,
.listxattr = ocfs2_listxattr,
.removexattr = generic_removexattr,
+ .fiemap = ocfs2_fiemap,
};