udf: add speciffic ->setattr callback
generic setattr not longer responsible for quota transfer. use udf_setattr for all udf's inodes. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
committed by
Jan Kara
parent
69ecbbedac
commit
c15d0fc0fc
@ -925,7 +925,7 @@ static int udf_symlink(struct inode *dir, struct dentry *dentry,
|
||||
iinfo = UDF_I(inode);
|
||||
inode->i_mode = S_IFLNK | S_IRWXUGO;
|
||||
inode->i_data.a_ops = &udf_symlink_aops;
|
||||
inode->i_op = &page_symlink_inode_operations;
|
||||
inode->i_op = &udf_symlink_inode_operations;
|
||||
|
||||
if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) {
|
||||
struct kernel_lb_addr eloc;
|
||||
@ -1393,6 +1393,7 @@ const struct export_operations udf_export_ops = {
|
||||
const struct inode_operations udf_dir_inode_operations = {
|
||||
.lookup = udf_lookup,
|
||||
.create = udf_create,
|
||||
.setattr = udf_setattr,
|
||||
.link = udf_link,
|
||||
.unlink = udf_unlink,
|
||||
.symlink = udf_symlink,
|
||||
@ -1401,3 +1402,9 @@ const struct inode_operations udf_dir_inode_operations = {
|
||||
.mknod = udf_mknod,
|
||||
.rename = udf_rename,
|
||||
};
|
||||
const struct inode_operations udf_symlink_inode_operations = {
|
||||
.readlink = generic_readlink,
|
||||
.follow_link = page_follow_link_light,
|
||||
.put_link = page_put_link,
|
||||
.setattr = udf_setattr,
|
||||
};
|
||||
|
Reference in New Issue
Block a user