diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2022-12-30 14:58:25 +0400 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-03-27 16:59:16 +0400 |
commit | 6827d50b2c430c329af442b64c9176d174f56521 (patch) | |
tree | 772985fcd8a05f998155d2ac26137681be6b4b1b /fs/ntfs3/ntfs.h | |
parent | 30200ef8d1368f0dee424d5926bd7af0cdc87b54 (diff) | |
download | lwn-6827d50b2c430c329af442b64c9176d174f56521.tar.gz lwn-6827d50b2c430c329af442b64c9176d174f56521.zip |
fs/ntfs3: Refactoring of various minor issues
Removed unused macro.
Changed null pointer checking.
Fixed inconsistent indenting.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs.h')
-rw-r--r-- | fs/ntfs3/ntfs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ntfs3/ntfs.h b/fs/ntfs3/ntfs.h index 86ea1826d099..90151e56c122 100644 --- a/fs/ntfs3/ntfs.h +++ b/fs/ntfs3/ntfs.h @@ -435,9 +435,6 @@ static inline u64 attr_svcn(const struct ATTRIB *attr) return attr->non_res ? le64_to_cpu(attr->nres.svcn) : 0; } -/* The size of resident attribute by its resident size. */ -#define BYTES_PER_RESIDENT(b) (0x18 + (b)) - static_assert(sizeof(struct ATTRIB) == 0x48); static_assert(sizeof(((struct ATTRIB *)NULL)->res) == 0x08); static_assert(sizeof(((struct ATTRIB *)NULL)->nres) == 0x38); |