mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
probably a bug in __ntfs_attr_init
This commit is contained in:
parent
949043ab36
commit
086fd4cc0c
@ -256,7 +256,7 @@ static __inline__ void __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni,
|
||||
na->name = name;
|
||||
na->name_len = name_len;
|
||||
} else {
|
||||
na->name = AT_UNNAMED;
|
||||
na->name = NULL;
|
||||
na->name_len = 0;
|
||||
}
|
||||
}
|
||||
@ -2728,7 +2728,8 @@ put_err_out:
|
||||
* EINVAL - Invalid argumets passed to function.
|
||||
* EIO - I/O error occured or damaged filesystem.
|
||||
*/
|
||||
int ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx) {
|
||||
int ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx)
|
||||
{
|
||||
ntfs_inode *base_ni, *ni;
|
||||
ATTR_TYPES type;
|
||||
int err;
|
||||
|
Loading…
Reference in New Issue
Block a user