diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-04-15 00:56:58 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-21 19:30:40 +0200 |
commit | 311b9549ed2bb0f2c2257781c3e88cb00505e80e (patch) | |
tree | 2a6769c682ae570103f581f03e43fee98261d177 /fs/ufs/symlink.c | |
parent | e0a5cbac029db69032758000c67465c2ed7a5736 (diff) |
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/symlink.c')
-rw-r--r-- | fs/ufs/symlink.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ufs/symlink.c b/fs/ufs/symlink.c index c0156eda44b..d283628b477 100644 --- a/fs/ufs/symlink.c +++ b/fs/ufs/symlink.c @@ -42,4 +42,12 @@ static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) const struct inode_operations ufs_fast_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = ufs_follow_link, + .setattr = ufs_setattr, +}; + +const struct inode_operations ufs_symlink_inode_operations = { + .readlink = generic_readlink, + .follow_link = page_follow_link_light, + .put_link = page_put_link, + .setattr = ufs_setattr, }; |