Ocfs2: Let ocfs2 support fiemap for symlink and fast symlink.
authorTristan Ye <tristan.ye@oracle.com>
Tue, 22 Dec 2009 01:11:58 +0000 (09:11 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 24 Dec 2009 01:52:09 +0000 (17:52 -0800)
commit86239d59e268a35a49a00fce9c8512a506267f5c
tree32226428e244115fb2e9d2e785db44d18d563e53
parent55f4946ed23cbf78efe9f818c4b55e890fe2beff
Ocfs2: Let ocfs2 support fiemap for symlink and fast symlink.

For fast symlink, it can be treated the same as inlined files since
the data extent we want to return of both case all were stored in
metadata block. For symlink, it can be simply treated the same as we
did for regular files.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Acked-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/extent_map.c
fs/ocfs2/symlink.c