diff options
| author | Simon Glass <[email protected]> | 2021-03-15 18:00:09 +1300 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-03-27 13:59:37 +1300 |
| commit | 72ca4859784227138a42d924678222d68fc20484 (patch) | |
| tree | ef64aad0cfd58227c2a1962c7813ec51afd8ae02 /fs/cbfs | |
| parent | 326aae258925b689b04dbd782a7e5e76e4eaf864 (diff) | |
cbfs: Add support for attributes
CBFS now supports attributes for things that cannot fit in the header as
originally conceived. Add the structures for these.
Also rename attributes_offset to something shorter, to ease code
readability.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'fs/cbfs')
| -rw-r--r-- | fs/cbfs/cbfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c index 9007aa7d159..abc43ad33f6 100644 --- a/fs/cbfs/cbfs.c +++ b/fs/cbfs/cbfs.c @@ -129,7 +129,7 @@ static int file_cbfs_next_file(struct cbfs_priv *priv, void *start, int size, new_node->name = (char *)file_header + sizeof(struct cbfs_fileheader); new_node->name_length = name_len; - new_node->attributes_offset = header.attributes_offset; + new_node->attr_offset = header.attributes_offset; step = header.len; if (step % align) |
