diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-04-16 09:05:50 -0400 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2010-04-16 09:05:50 -0400 |
commit | c7f2e1f0ac142a657a1de00d404e1c8345b20598 (patch) | |
tree | 3afb52c22b24f2f31ec7c5638d87ab8bb1f04598 /fs/jfs/namei.c | |
parent | 2b0b39517d1af5294128dbc2fd7ed39c8effa540 (diff) |
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.c | 4 |
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, | |||
946 | */ | 946 | */ |
947 | 947 | ||
948 | if (ssize <= IDATASIZE) { | 948 | if (ssize <= IDATASIZE) { |
949 | ip->i_op = &jfs_symlink_inode_operations; | 949 | ip->i_op = &jfs_fast_symlink_inode_operations; |
950 | 950 | ||
951 | i_fastsymlink = JFS_IP(ip)->i_inline; | 951 | i_fastsymlink = JFS_IP(ip)->i_inline; |
952 | memcpy(i_fastsymlink, name, ssize); | 952 | memcpy(i_fastsymlink, name, ssize); |
@@ -968,7 +968,7 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry, | |||
968 | else { | 968 | else { |
969 | jfs_info("jfs_symlink: allocate extent ip:0x%p", ip); | 969 | jfs_info("jfs_symlink: allocate extent ip:0x%p", ip); |
970 | 970 | ||
971 | ip->i_op = &page_symlink_inode_operations; | 971 | ip->i_op = &jfs_symlink_inode_operations; |
972 | ip->i_mapping->a_ops = &jfs_aops; | 972 | ip->i_mapping->a_ops = &jfs_aops; |
973 | 973 | ||
974 | /* | 974 | /* |