parent
3da1cc0cb9
commit
cbbd254b20
|
@ -273,6 +273,8 @@ extern int ntfs_attr_can_be_non_resident(const ntfs_volume *vol,
|
|||
extern int ntfs_attr_can_be_resident(const ntfs_volume *vol,
|
||||
const ATTR_TYPES type);
|
||||
|
||||
extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size);
|
||||
|
||||
extern int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a,
|
||||
const u32 newsize);
|
||||
|
||||
|
|
|
@ -2238,7 +2238,7 @@ int ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPES type)
|
|||
* Warning: If you make a record smaller without having copied all the data you
|
||||
* are interested in the data may be overwritten!
|
||||
*/
|
||||
static int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size)
|
||||
int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size)
|
||||
{
|
||||
/* Align to 8 bytes, just in case the caller hasn't. */
|
||||
new_size = (new_size + 7) & ~7;
|
||||
|
|
Loading…
Reference in New Issue