summaryrefslogtreecommitdiffstats
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2010-04-16 08:05:50 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2010-04-16 08:05:50 -0500
commitc7f2e1f0ac142a657a1de00d404e1c8345b20598 (patch)
tree3afb52c22b24f2f31ec7c5638d87ab8bb1f04598 /fs/jfs/namei.c
parent2b0b39517d1af5294128dbc2fd7ed39c8effa540 (diff)
downloadlinux-c7f2e1f0ac142a657a1de00d404e1c8345b20598.tar.gz
linux-c7f2e1f0ac142a657a1de00d404e1c8345b20598.tar.bz2
linux-c7f2e1f0ac142a657a1de00d404e1c8345b20598.zip
jfs: add jfs specific ->setattr call
generic setattr not longer responsible for quota transfer. use jfs_setattr for all jfs's inodes. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/namei.c')
-rw-r--r--fs/jfs/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index c79a4270f083..114e60071108 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -946,7 +946,7 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
*/
if (ssize <= IDATASIZE) {
- ip->i_op = &jfs_symlink_inode_operations;
+ ip->i_op = &jfs_fast_symlink_inode_operations;
i_fastsymlink = JFS_IP(ip)->i_inline;
memcpy(i_fastsymlink, name, ssize);
@@ -968,7 +968,7 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
else {
jfs_info("jfs_symlink: allocate extent ip:0x%p", ip);
- ip->i_op = &page_symlink_inode_operations;
+ ip->i_op = &jfs_symlink_inode_operations;
ip->i_mapping->a_ops = &jfs_aops;
/*