summaryrefslogtreecommitdiffstats
path: root/fs/ufs/truncate.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2010-04-15 00:56:58 +0200
committerJan Kara <jack@suse.cz>2010-05-21 19:30:40 +0200
commit311b9549ed2bb0f2c2257781c3e88cb00505e80e (patch)
tree2a6769c682ae570103f581f03e43fee98261d177 /fs/ufs/truncate.c
parente0a5cbac029db69032758000c67465c2ed7a5736 (diff)
downloadlinux-311b9549ed2bb0f2c2257781c3e88cb00505e80e.tar.bz2
ufs: add ufs speciffic ->setattr call
generic setattr not longer responsible for quota transfer. use ufs_setattr for all ufs's inodes. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ufs/truncate.c')
-rw-r--r--fs/ufs/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/truncate.c b/fs/ufs/truncate.c
index d3b6270cb377..ee8db3e77bfe 100644
--- a/fs/ufs/truncate.c
+++ b/fs/ufs/truncate.c
@@ -508,7 +508,7 @@ out:
* - there is no way to know old size
* - there is no way inform user about error, if it happens in `truncate'
*/
-static int ufs_setattr(struct dentry *dentry, struct iattr *attr)
+int ufs_setattr(struct dentry *dentry, struct iattr *attr)
{
struct inode *inode = dentry->d_inode;
unsigned int ia_valid = attr->ia_valid;