summaryrefslogtreecommitdiffstats
path: root/fs/ufs/ufs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-11-16 00:24:17 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-07 02:43:26 +0100
commit9cdce3c074fbd7083923f15225e112a91daff8ed (patch)
treef1c4e23622a46b610f1f710c7c248b73ee7269b3 /fs/ufs/ufs.h
parentudf: don't duplicate page_symlink_inode_operations (diff)
downloadlinux-9cdce3c074fbd7083923f15225e112a91daff8ed.tar.xz
linux-9cdce3c074fbd7083923f15225e112a91daff8ed.zip
ufs: get rid of ->setattr() for symlinks
It was to needed for a couple of months in 2010, until UFS quota support got dropped. Since then it's equivalent to simple_setattr() (i.e. the default) for everything except the regular files. And dropping it there allows to convert all UFS symlinks to {page,simple}_symlink_inode_operations, getting rid of fs/ufs/symlink.c completely. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ufs/ufs.h')
-rw-r--r--fs/ufs/ufs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h
index 7da4aca868c0..c87f4c3fa9dd 100644
--- a/fs/ufs/ufs.h
+++ b/fs/ufs/ufs.h
@@ -136,10 +136,6 @@ extern __printf(3, 4)
void ufs_panic(struct super_block *, const char *, const char *, ...);
void ufs_mark_sb_dirty(struct super_block *sb);
-/* symlink.c */
-extern const struct inode_operations ufs_fast_symlink_inode_operations;
-extern const struct inode_operations ufs_symlink_inode_operations;
-
static inline struct ufs_sb_info *UFS_SB(struct super_block *sb)
{
return sb->s_fs_info;