summaryrefslogtreecommitdiff
path: root/fs/ufs/ufs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-06-17 19:44:14 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-07-07 00:39:30 +0300
commit010d331fc315c96607aa6ecdfebb9fcdd349fc9b (patch)
tree44e06394ba81faaad442195ef2377e44451f11d5 /fs/ufs/ufs.h
parent0d23cf7616253b7960edeae720b9f5dfdccee445 (diff)
downloadlinux-010d331fc315c96607aa6ecdfebb9fcdd349fc9b.tar.xz
ufs: move truncate code into inode.c
It is closely tied to block pointers handling there, can benefit from existing helpers, etc. - no point keeping them apart. Trimmed the trailing whitespaces in inode.c at the same time. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ufs/ufs.h')
-rw-r--r--fs/ufs/ufs.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h
index 478f35b493a6..7da4aca868c0 100644
--- a/fs/ufs/ufs.h
+++ b/fs/ufs/ufs.h
@@ -122,7 +122,7 @@ extern struct inode *ufs_iget(struct super_block *, unsigned long);
extern int ufs_write_inode (struct inode *, struct writeback_control *);
extern int ufs_sync_inode (struct inode *);
extern void ufs_evict_inode (struct inode *);
-extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create);
+extern int ufs_setattr(struct dentry *dentry, struct iattr *attr);
/* namei.c */
extern const struct file_operations ufs_dir_operations;
@@ -140,10 +140,6 @@ void ufs_mark_sb_dirty(struct super_block *sb);
extern const struct inode_operations ufs_fast_symlink_inode_operations;
extern const struct inode_operations ufs_symlink_inode_operations;
-/* truncate.c */
-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)
{
return sb->s_fs_info;