diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-03 16:14:29 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-30 05:28:40 +0200 |
commit | ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 (patch) | |
tree | a1fc74b921ef4ea32603492f2a500b016e15e377 /fs/ocfs2/symlink.h | |
parent | get rid of pointless allocations and copying in ecryptfs_follow_link() (diff) | |
download | linux-ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1.tar.xz linux-ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1.zip |
ocfs: simplify symlink handling
seeing that "fast" symlinks still get allocation + copy, we might as
well simply switch them to pagecache-based variant of ->follow_link();
just need an appropriate ->readpage() for them...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2/symlink.h')
-rw-r--r-- | fs/ocfs2/symlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/symlink.h b/fs/ocfs2/symlink.h index 65a6c9c6ad51..71ee4245e919 100644 --- a/fs/ocfs2/symlink.h +++ b/fs/ocfs2/symlink.h @@ -27,7 +27,7 @@ #define OCFS2_SYMLINK_H extern const struct inode_operations ocfs2_symlink_inode_operations; -extern const struct inode_operations ocfs2_fast_symlink_inode_operations; +extern const struct address_space_operations ocfs2_fast_symlink_aops; /* * Test whether an inode is a fast symlink. |