summaryrefslogtreecommitdiff
path: root/include/sqfs/inode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqfs/inode.h')
-rw-r--r--include/sqfs/inode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sqfs/inode.h b/include/sqfs/inode.h
index 8df7158..7f4e7b5 100644
--- a/include/sqfs/inode.h
+++ b/include/sqfs/inode.h
@@ -576,9 +576,10 @@ SQFS_API int sqfs_inode_get_xattr_index(const sqfs_inode_generic_t *inode,
*
* @memberof sqfs_inode_generic_t
*
- * For basic inodes, this function promes the inodes to extended inodes if the
- * index is not 0xFFFFFFFF. If the index is 0xFFFFFFFF, the function tries to
- * demote extended inode to a basic inode after setting the index.
+ * For basic inodes, this function promotes the inodes to extended inodes if
+ * the index is not 0xFFFFFFFF. The function does not try to demote extended
+ * inodes if the index is 0xFFFFFFFF, because that would cause additional
+ * information like a directory index to be lost.
*
* @param inode A pointer to an inode.
* @param index The extended attribute index.