···120120 * inode_newsize_ok - may this inode be truncated to a given size121121 * @inode: the inode to be truncated122122 * @offset: the new size to assign to the inode123123- * @Returns: 0 on success, -ve errno on failure124123 *125124 * inode_newsize_ok must be called with i_mutex held.126125 *···129130 * returned. @inode must be a file (not directory), with appropriate130131 * permissions to allow truncate (inode_newsize_ok does NOT check these131132 * conditions).133133+ *134134+ * Return: 0 on success, -ve errno on failure132135 */133136int inode_newsize_ok(const struct inode *inode, loff_t offset)134137{···206205/**207206 * notify_change - modify attributes of a filesytem object208207 * @dentry: object affected209209- * @iattr: new attributes208208+ * @attr: new attributes210209 * @delegated_inode: returns inode, if the inode is delegated211210 *212211 * The caller must hold the i_mutex on the affected object.