summaryrefslogtreecommitdiffstats
path: root/fs/ufs/ufs.h
diff options
context:
space:
mode:
authorAl Viro2015-06-17 00:04:16 +0200
committerAl Viro2015-07-06 23:39:20 +0200
commitd622f167b8435c856376edec130053fb56bf83e4 (patch)
tree908a106d1ac997dd145f8027d47a4fc9b6a6f04f /fs/ufs/ufs.h
parentufs: kill more lock_ufs() calls (diff)
downloadkernel-qcow2-linux-d622f167b8435c856376edec130053fb56bf83e4.tar.gz
kernel-qcow2-linux-d622f167b8435c856376edec130053fb56bf83e4.tar.xz
kernel-qcow2-linux-d622f167b8435c856376edec130053fb56bf83e4.zip
ufs: switch ufs_evict_inode() to trimmed-down variant of ufs_truncate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ufs/ufs.h')
-rw-r--r--fs/ufs/ufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h
index 2e31ea2e35a3..43fcab381de1 100644
--- a/fs/ufs/ufs.h
+++ b/fs/ufs/ufs.h
@@ -141,7 +141,7 @@ extern const struct inode_operations ufs_fast_symlink_inode_operations;
extern const struct inode_operations ufs_symlink_inode_operations;
/* truncate.c */
-extern int ufs_truncate (struct inode *, loff_t);
+extern void ufs_truncate_blocks(struct inode *);
extern int ufs_setattr(struct dentry *dentry, struct iattr *attr);
static inline struct ufs_sb_info *UFS_SB(struct super_block *sb)