parent
377a40152c
commit
e7f6573732
|
@ -3193,7 +3193,6 @@ cluster_free_err_out:
|
|||
*
|
||||
* On success return 0 and on error return -1 with errno set to the error code.
|
||||
* The following error codes are defined:
|
||||
* ENOTSUP - The desired resize is not implemented yet.
|
||||
* ENOMEM - Not enough memory to complete operation.
|
||||
* ERANGE - @newsize is not valid for the attribute type of @na.
|
||||
* ENOSPC - There is no enogh space in base mft to resize $ATTRIBUTE_LIST.
|
||||
|
@ -3249,10 +3248,8 @@ static int ntfs_resident_attr_resize(ntfs_attr *na, const s64 newsize)
|
|||
/* Error! If not enough space, just continue. */
|
||||
if (errno != ENOSPC) {
|
||||
err = errno;
|
||||
if (err != ENOTSUP)
|
||||
Dprintf("%s(): Eeek! Failed to resize "
|
||||
"resident part of attribute. "
|
||||
"Aborting...\n", __FUNCTION__);
|
||||
Dprintf("%s(): Eeek! Failed to resize resident part "
|
||||
"of attribute. Aborting...\n", __FUNCTION__);
|
||||
goto put_err_out;
|
||||
}
|
||||
}
|
||||
|
@ -3590,7 +3587,6 @@ static int ntfs_attr_make_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx)
|
|||
*
|
||||
* On success return 0 and on error return -1 with errno set to the error code.
|
||||
* The following error codes are defined:
|
||||
* ENOTSUP - The desired resize is not implemented yet.
|
||||
* ENOMEM - Not enough memory to complete operation.
|
||||
* ENOSPC - There is no enogh space in base mft to resize $ATTRIBUTE_LIST.
|
||||
*/
|
||||
|
@ -3905,7 +3901,6 @@ put_err_out:
|
|||
*
|
||||
* On success return 0 and on error return -1 with errno set to the error code.
|
||||
* The following error codes are defined:
|
||||
* ENOTSUP - The desired resize is not implemented yet.
|
||||
* ENOMEM - Not enough memory to complete operation.
|
||||
* ERANGE - @newsize is not valid for the attribute type of @na.
|
||||
*/
|
||||
|
@ -4061,7 +4056,6 @@ put_err_out:
|
|||
*
|
||||
* On success return 0 and on error return -1 with errno set to the error code.
|
||||
* The following error codes are defined:
|
||||
* ENOTSUP - The desired resize is not implemented yet.
|
||||
* ENOMEM - Not enough memory to complete operation.
|
||||
* ERANGE - @newsize is not valid for the attribute type of @na.
|
||||
* ENOSPC - There is no enogh space in base mft to resize $ATTRIBUTE_LIST.
|
||||
|
|
|
@ -91,7 +91,6 @@ int ntfs_attrlist_need(ntfs_inode *ni)
|
|||
* following error codes are defined:
|
||||
* EINVAL - Invalid argumets passed to function.
|
||||
* ENOMEM - Not enough memory to allocate necessary buffers.
|
||||
* ENOTSUP - Code that required for set is not implemented yet.
|
||||
* EIO - I/O error occured or damaged filesystem.
|
||||
*/
|
||||
int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr)
|
||||
|
|
|
@ -405,7 +405,6 @@ int ntfs_inode_attach_all_extents(ntfs_inode *ni)
|
|||
* Return 0 on success or -1 on error with errno set to the error code.
|
||||
* The following error codes are defined:
|
||||
* EINVAL - Invalid arguments were passed to the function.
|
||||
* ENOTSUP - Syncing requires code that has not been imlemented yet.
|
||||
* EBUSY - Inode and/or one of its extents is busy, try again later.
|
||||
* EIO - I/O error while writing the inode (or one of its extents).
|
||||
*/
|
||||
|
@ -515,7 +514,6 @@ int ntfs_inode_sync(ntfs_inode *ni)
|
|||
* EINVAL - Invalid arguments were passed to the function.
|
||||
* EEXIST - Attibute list already exist.
|
||||
* EIO - Input/Ouput error occured.
|
||||
* ENOTSUP - Add requires code that has not been imlemented yet.
|
||||
* ENOMEM - Not enogh memory to perform add.
|
||||
*/
|
||||
int ntfs_inode_add_attrlist(ntfs_inode *ni)
|
||||
|
|
Loading…
Reference in New Issue