summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/symlink.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-03 10:14:29 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-29 23:28:40 -0400
commitea022dfb3c2a4680483b00eb2fecc9fc4f6091d1 (patch)
treea1fc74b921ef4ea32603492f2a500b016e15e377 /fs/ocfs2/symlink.h
parent408bd629badbd4353b238ab6f58001529b274d73 (diff)
downloadlinux-stable-ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1.tar.gz
linux-stable-ea022dfb3c2a4680483b00eb2fecc9fc4f6091d1.tar.bz2
linux-stable-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.h2
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.