patch-2.1.110 linux/fs/ntfs/attr.c
Next file: linux/fs/ntfs/fs.c
Previous file: linux/fs/nfsd/vfs.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Jul 17 10:33:34 1998
- Orig file:
v2.1.109/linux/fs/ntfs/attr.c
- Orig date:
Wed Jun 24 22:54:10 1998
diff -u --recursive --new-file v2.1.109/linux/fs/ntfs/attr.c linux/fs/ntfs/attr.c
@@ -56,7 +56,7 @@
}
}
if(do_insert)
- ntfs_memcpy(ino->attrs+i+1,ino->attrs+i,(ino->attr_count-i)*
+ ntfs_memmove(ino->attrs+i+1,ino->attrs+i,(ino->attr_count-i)*
sizeof(ntfs_attribute));
ino->attr_count++;
ino->attrs[i].type=type;
@@ -95,7 +95,7 @@
}
}
if(attr->d.r.len>cnum)
- ntfs_memcpy(attr->d.r.runlist+cnum+1,attr->d.r.runlist+cnum,
+ ntfs_memmove(attr->d.r.runlist+cnum+1,attr->d.r.runlist+cnum,
(attr->d.r.len-cnum)*sizeof(ntfs_runlist));
attr->d.r.runlist[cnum].cluster=cluster;
attr->d.r.runlist[cnum].len=len;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov