Searched refs:sd_iattr (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/configfs/
H A Dinode.c61 struct iattr * sd_iattr; configfs_setattr() local
68 sd_iattr = sd->s_iattr; configfs_setattr()
69 if (!sd_iattr) { configfs_setattr()
71 sd_iattr = kzalloc(sizeof(struct iattr), GFP_KERNEL); configfs_setattr()
72 if (!sd_iattr) configfs_setattr()
75 sd_iattr->ia_mode = sd->s_mode; configfs_setattr()
76 sd_iattr->ia_uid = GLOBAL_ROOT_UID; configfs_setattr()
77 sd_iattr->ia_gid = GLOBAL_ROOT_GID; configfs_setattr()
78 sd_iattr->ia_atime = sd_iattr->ia_mtime = sd_iattr->ia_ctime = CURRENT_TIME; configfs_setattr()
79 sd->s_iattr = sd_iattr; configfs_setattr()
88 sd_iattr->ia_uid = iattr->ia_uid; configfs_setattr()
90 sd_iattr->ia_gid = iattr->ia_gid; configfs_setattr()
92 sd_iattr->ia_atime = timespec_trunc(iattr->ia_atime, configfs_setattr()
95 sd_iattr->ia_mtime = timespec_trunc(iattr->ia_mtime, configfs_setattr()
98 sd_iattr->ia_ctime = timespec_trunc(iattr->ia_ctime, configfs_setattr()
105 sd_iattr->ia_mode = sd->s_mode = mode; configfs_setattr()

Completed in 51 milliseconds