Lines Matching refs:attr
257 static int udf_setattr(struct dentry *dentry, struct iattr *attr) in udf_setattr() argument
263 error = setattr_prepare(dentry, attr); in udf_setattr()
267 if ((attr->ia_valid & ATTR_UID) && in udf_setattr()
269 !uid_eq(attr->ia_uid, UDF_SB(sb)->s_uid)) in udf_setattr()
271 if ((attr->ia_valid & ATTR_GID) && in udf_setattr()
273 !gid_eq(attr->ia_gid, UDF_SB(sb)->s_gid)) in udf_setattr()
276 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
277 attr->ia_size != i_size_read(inode)) { in udf_setattr()
278 error = udf_setsize(inode, attr->ia_size); in udf_setattr()
283 if (attr->ia_valid & ATTR_MODE) in udf_setattr()
284 udf_update_extra_perms(inode, attr->ia_mode); in udf_setattr()
286 setattr_copy(inode, attr); in udf_setattr()