Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3254/libntfs
Modified Files:
attrib.c dir.c inode.c runlist.c
Log Message:
trailing whitespace
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -p -r1.183 -r1.184
--- attrib.c 15 Oct 2005 20:52:41 -0000 1.183
+++ attrib.c 16 Oct 2005 19:21:47 -0000 1.184
@@ -2271,7 +2271,7 @@ void ntfs_attr_reinit_search_ctx(ntfs_at
* 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_T
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;
Index: dir.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/dir.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- dir.c 1 Oct 2005 00:34:53 -0000 1.27
+++ dir.c 16 Oct 2005 19:21:47 -0000 1.28
@@ -1279,7 +1279,7 @@ int ntfs_delete(ntfs_inode *ni, ntfs_ino
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
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.
Index: inode.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/inode.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -p -r1.67 -r1.68
--- inode.c 28 Sep 2005 13:47:48 -0000 1.67
+++ inode.c 16 Oct 2005 19:21:47 -0000 1.68
@@ -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.
*/
Index: runlist.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/runlist.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- runlist.c 28 Sep 2005 13:47:48 -0000 1.59
+++ runlist.c 16 Oct 2005 19:21:47 -0000 1.60
@@ -1734,7 +1734,7 @@ static void test_rl_dump_runlist (const
if (abbr)
for (len = 0; rl[len].length; len++) ;
-
+
printf(" VCN LCN len\n");
for (i = 0; ; i++, rl++) {
LCN lcn = rl->lcn;
|