diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-09-25 10:47:07 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-09-28 15:04:01 +0300 |
commit | f684073c09fd4658faa0a75c12b65d89a58b8e83 (patch) | |
tree | c77b3d8119b88bb7c8fbfbdf72b06f8b893a5407 /fs/ntfs3/record.c | |
parent | dcc852e509a4cba0ac6ac734077cef260e4e0fe6 (diff) | |
download | linux-f684073c09fd4658faa0a75c12b65d89a58b8e83.tar.xz |
fs/ntfs3: Refactoring and comments
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/record.c')
-rw-r--r-- | fs/ntfs3/record.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ntfs3/record.c b/fs/ntfs3/record.c index 02cc91ed8835..53629b1f65e9 100644 --- a/fs/ntfs3/record.c +++ b/fs/ntfs3/record.c @@ -189,6 +189,12 @@ out: return err; } +/* + * mi_enum_attr - start/continue attributes enumeration in record. + * + * NOTE: mi->mrec - memory of size sbi->record_size + * here we sure that mi->mrec->total == sbi->record_size (see mi_read) + */ struct ATTRIB *mi_enum_attr(struct mft_inode *mi, struct ATTRIB *attr) { const struct MFT_REC *rec = mi->mrec; |