trailing whitespace
parent
27a9764d3a
commit
8fa46025d5
|
@ -2481,5 +2481,5 @@ typedef struct {
|
|||
} __attribute__ ((__packed__)) EFS_DF_CERTIFICATE_THUMBPRINT_HEADER;
|
||||
|
||||
typedef EFS_DF_CERTIFICATE_THUMBPRINT_HEADER EFS_DF_CERT_THUMBPRINT_HEADER;
|
||||
|
||||
|
||||
#endif /* defined _NTFS_LAYOUT_H */
|
||||
|
|
|
@ -2271,7 +2271,7 @@ void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx)
|
|||
* Note: For low level utilities which know what they are doing we allow @ni to
|
||||
* be NULL and @mrec to be set. Do NOT do this unless you understand the
|
||||
* implications!!! For example it is no longer safe to call ntfs_attr_lookup()
|
||||
* if you
|
||||
* if you
|
||||
*/
|
||||
ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
|
||||
{
|
||||
|
@ -3013,7 +3013,7 @@ int ntfs_attr_add(ntfs_inode *ni, ATTR_TYPES type,
|
|||
is_resident = TRUE;
|
||||
/* Check if it is better to make attribute non resident. */
|
||||
if (!ntfs_attr_can_be_non_resident(ni->vol, type) &&
|
||||
offsetof(ATTR_RECORD, resident_end) + size >=
|
||||
offsetof(ATTR_RECORD, resident_end) + size >=
|
||||
offsetof(ATTR_RECORD, non_resident_end) + 8)
|
||||
/* Make it non resident. */
|
||||
is_resident = FALSE;
|
||||
|
|
|
@ -1279,7 +1279,7 @@ int ntfs_delete(ntfs_inode *ni, ntfs_inode *dir_ni, ntfschar *name, u8 name_len)
|
|||
search:
|
||||
while (!ntfs_attr_lookup(AT_FILE_NAME, AT_UNNAMED, 0, CASE_SENSITIVE,
|
||||
0, NULL, 0, actx)) {
|
||||
errno = 0;
|
||||
errno = 0;
|
||||
fn = (FILE_NAME_ATTR*)((u8*)actx->attr +
|
||||
le16_to_cpu(actx->attr->value_offset));
|
||||
if (looking_for_dos_name) {
|
||||
|
@ -1351,7 +1351,7 @@ search:
|
|||
/*
|
||||
* If hard link count is not equal to zero then we are done. In other
|
||||
* case there are no reference to this inode left, so we should free all
|
||||
* non-resident atributes and mark inode as not in use.
|
||||
* non-resident atributes and mark inode as not in use.
|
||||
*/
|
||||
if (ni->mrec->link_count)
|
||||
goto out;
|
||||
|
@ -1485,7 +1485,7 @@ int ntfs_link(ntfs_inode *ni, ntfs_inode *dir_ni, ntfschar *name, u8 name_len)
|
|||
ni->mrec->link_count) + 1);
|
||||
/*
|
||||
* Do not set attributes and file size, instead of this mark filenames
|
||||
* dirty to force attribute and size update during sync.
|
||||
* dirty to force attribute and size update during sync.
|
||||
* NOTE: File size may will be not updated and not all attributes will
|
||||
* be set, but it is acceptable since windows driver does not update
|
||||
* all file names when one of the hard links changed.
|
||||
|
|
|
@ -268,7 +268,7 @@ int ntfs_inode_close(ntfs_inode *ni)
|
|||
i = -1;
|
||||
break;
|
||||
}
|
||||
/*
|
||||
/*
|
||||
* ElectricFence is unhappy with realloc(x,0) as free(x)
|
||||
* thus we explicitly separate these two cases.
|
||||
*/
|
||||
|
|
|
@ -1734,7 +1734,7 @@ static void test_rl_dump_runlist (const runlist_element *rl)
|
|||
|
||||
if (abbr)
|
||||
for (len = 0; rl[len].length; len++) ;
|
||||
|
||||
|
||||
printf(" VCN LCN len\n");
|
||||
for (i = 0; ; i++, rl++) {
|
||||
LCN lcn = rl->lcn;
|
||||
|
|
|
@ -986,7 +986,7 @@ int mft_next_record (struct mft_search_ctx *ctx)
|
|||
ntfs_attr_close(mft);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
ntfs_attr_close(mft);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue