Changes by: flatcap
Update of /cvsroot/linux-ntfs/linux-ntfs/libntfs
In directory usw-pr-cvs1:/tmp/cvs-serv17019/libntfs
Modified Files:
attrib.c attrib_RE.c bootsect.c debug.c dir.c disk_io.c
inode.c mft.c mst.c runlist.c unistr.c volume.c
Log Message:
whitespace and include guards
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/attrib.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -U2 -r1.57 -r1.58
--- attrib.c 9 Jul 2002 19:17:49 -0000 1.57
+++ attrib.c 11 Jul 2002 16:20:33 -0000 1.58
@@ -12,11 +12,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -76,5 +76,5 @@
c = (VOLUME_INFORMATION*)(le16_to_cpu(r->value_offset) + (char*)r);
/* Sanity checks. */
- if ((char*)c + le32_to_cpu(r->value_length) >
+ if ((char*)c + le32_to_cpu(r->value_length) >
le16_to_cpu(b->bytes_in_use) + (char*)b ||
le16_to_cpu(r->value_offset) +
@@ -162,5 +162,5 @@
* FIXED: We were overflowing here in a nasty fashion when we
* reach the last cluster in the run list as the buffer will
- * only be big enough to hold data_size bytes while we are
+ * only be big enough to hold data_size bytes while we are
* reading in allocated_size bytes which is usually larger
* than data_size, since the actual data is unlikely to have a
@@ -183,5 +183,5 @@
* buffer, and continue.
*/
- intbuf = malloc(rl[i].length <<
+ intbuf = malloc(rl[i].length <<
vol->cluster_size_bits);
if (!intbuf) {
@@ -194,9 +194,9 @@
}
/*
- * FIXME: If compressed file: Only read if
- * lcn != -1. Otherwise, we are dealing with a
+ * FIXME: If compressed file: Only read if
+ * lcn != -1. Otherwise, we are dealing with a
* sparse run and we just memset the user buffer
* to 0 for the length of the run, which should
- * be 16 (= compression unit size).
+ * be 16 (= compression unit size).
* FIXME: Really only when file is compressed,
* or can we have sparse runs in uncompressed
@@ -229,5 +229,5 @@
return 0;
}
- memcpy(b + total, intbuf,
+ memcpy(b + total, intbuf,
sle64_to_cpu(a->data_size) - total);
free(intbuf);
@@ -235,6 +235,6 @@
} else {
/*
- * FIXME: If compressed file: Only read if
- * lcn != -1. Otherwise, we are dealing with a
+ * FIXME: If compressed file: Only read if
+ * lcn != -1. Otherwise, we are dealing with a
* sparse run and we just memset the user buffer
* to 0 for the length of the run, which should
@@ -280,5 +280,5 @@
* set_attribute_value
*/
-int set_attribute_value(ntfs_volume *vol, ATTR_RECORD *a,
+int set_attribute_value(ntfs_volume *vol, ATTR_RECORD *a,
const u8 *b, s64 l)
{
@@ -315,5 +315,5 @@
s64 total, w;
int i;
-
+
/* If no data return 1. FIXME: This needs to change when we can
cope with changes in length of the attribute. */
@@ -341,5 +341,5 @@
perror(ESTR);
errno = eo;
- } else if (w < min(l, rl[i].length <<
+ } else if (w < min(l, rl[i].length <<
vol->cluster_size_bits)) {
fprintf(stderr, ESTR ": Ran out of "
@@ -357,5 +357,5 @@
l -= w;
if ((l <= 0) && rl[i+1].length) {
- fprintf(stderr,
+ fprintf(stderr,
"Warning: Amount of data to write "
"doesn't match attribute length in\n"
@@ -364,5 +364,5 @@
"has been preserved.\n");
} else if ((l > 0) && !rl[i+1].length) {
- fprintf(stderr,
+ fprintf(stderr,
"Warning: Still have data to write but "
"the attribute length in the run list\n"
@@ -371,5 +371,5 @@
}
}
- free(rl);
+ free(rl);
return 1;
}
@@ -545,5 +545,5 @@
/**
* ntfs_attr_map_run_list - map (a part of) a run list of an ntfs attribute
- * @na: ntfs attribute for which to map (part of) a run list
+ * @na: ntfs attribute for which to map (part of) a run list
* @vcn: map run list part containing this vcn
*
@@ -556,5 +556,5 @@
ntfs_attr_search_ctx *ctx;
int err;
-
+
Dprintf("%s(): Entering for inode 0x%Lx, attr 0x%x, vcn 0x%Lx.\n",
__FUNCTION__, (unsigned long long)na->ni->mft_no,
@@ -1153,5 +1153,5 @@
if (need_to_undo.initialized_size) {
int err;
-
+
err = 0;
if (!ctx) {
@@ -1383,5 +1383,5 @@
uchar_t *upcase;
u32 upcase_len;
-
+
if (!ctx || !ctx->mrec || !ctx->attr) {
errno = EINVAL;
@@ -1425,6 +1425,6 @@
if (a->type != type)
continue;
- /*
- * If @name is AT_NONAME we want an unnamed attribute.
+ /*
+ * If @name is AT_NONAME we want an unnamed attribute.
* If @name is present, compare the two names.
* Otherwise, match any attribute.
@@ -1440,5 +1440,5 @@
a->name_length, ic, upcase, upcase_len)) {
register int rc;
-
+
rc = ntfs_collate_names(name, name_len,
(uchar_t*)((char*)a +
@@ -1479,5 +1479,5 @@
else {
register int rc;
-
+
rc = memcmp(val, (char*)a +le16_to_cpu(a->value_offset),
min(val_len,
@@ -1644,6 +1644,6 @@
if (!type)
goto is_enumeration;
- /*
- * If @name is AT_NONAME we want an unnamed attribute.
+ /*
+ * If @name is AT_NONAME we want an unnamed attribute.
* If @name is present, compare the two names.
* Otherwise, match any attribute.
@@ -1694,5 +1694,5 @@
(char*)next_al_entry + 6 < al_end &&
(char*)next_al_entry + le16_to_cpu(
- next_al_entry->length) <= al_end &&
+ next_al_entry->length) <= al_end &&
sle64_to_cpu(next_al_entry->lowest_vcn) <=
sle64_to_cpu(lowest_vcn) &&
Index: attrib_RE.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/attrib_RE.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -U2 -r1.6 -r1.7
--- attrib_RE.c 2 Jul 2002 23:47:10 -0000 1.6
+++ attrib_RE.c 11 Jul 2002 16:20:33 -0000 1.7
@@ -54,5 +54,5 @@
{
ATTR_RECORD *a;
-
+
#ifdef DEBUG
if (!vol || !ctx || !ctx->mrec || !ctx->attr) {
@@ -60,5 +60,5 @@
return FALSE;
}
-#endif
+#endif
a = ctx->attr;
/*
Index: bootsect.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/bootsect.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -U2 -r1.12 -r1.13
--- bootsect.c 2 Jul 2002 23:47:10 -0000 1.12
+++ bootsect.c 11 Jul 2002 16:20:33 -0000 1.13
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -50,5 +50,5 @@
if (!silent)
printf("\nBeginning bootsector check...\n");
-
+
/* Calculate the checksum. Note, this is just a simple addition of
all u32 values in the bootsector starting at the beginning and
@@ -61,8 +61,8 @@
if (!silent)
printf("Calculating bootsector checksum... ");
-
+
for (i = 0; u < bi; ++u)
i += le32_to_cpup(u);
-
+
if (le32_to_cpu(b->checksum) && le32_to_cpu(b->checksum) != i)
goto not_ntfs;
@@ -126,5 +126,5 @@
if (!silent)
printf("Checking clusters per mft record... ");
- if ((u8)b->clusters_per_mft_record < 0xe1 ||
+ if ((u8)b->clusters_per_mft_record < 0xe1 ||
(u8)b->clusters_per_mft_record > 0xf7) {
switch (b->clusters_per_mft_record) {
@@ -141,5 +141,5 @@
if (!silent)
printf("Checking clusters per index block... ");
- if ((u8)b->clusters_per_index_record < 0xe1 ||
+ if ((u8)b->clusters_per_index_record < 0xe1 ||
(u8)b->clusters_per_index_record > 0xf7) {
switch (b->clusters_per_index_record) {
Index: debug.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/debug.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -U2 -r1.1 -r1.2
--- debug.c 22 Apr 2002 10:34:31 -0000 1.1
+++ debug.c 11 Jul 2002 16:20:33 -0000 1.2
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Index: dir.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/dir.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -U2 -r1.6 -r1.7
--- dir.c 8 Jul 2002 23:27:16 -0000 1.6
+++ dir.c 11 Jul 2002 16:20:33 -0000 1.7
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Index: disk_io.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/disk_io.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -U2 -r1.29 -r1.30
--- disk_io.c 8 Jul 2002 06:23:22 -0000 1.29
+++ disk_io.c 11 Jul 2002 16:20:33 -0000 1.30
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -39,8 +39,8 @@
* @count: number of bytes to read
* @b: output data buffer
- *
+ *
* This function will read @count bytes from file descriptor @fd at position
* @pos into the data buffer @b.
- *
+ *
* On success, return the number of successfully read bytes. If this number is
* lower than @count this means that we have either reached end of file or
@@ -92,5 +92,5 @@
* @count: number of bytes to write
* @b: data buffer to write to disk
- *
+ *
* This function will write @count bytes from data buffer @b to file descriptor
* @fd at position @pos.
@@ -108,5 +108,5 @@
{
s64 written, total;
-
+
Dprintf("%s(): Entering for pos 0x%Lx, count 0x%Lx.\n", __FUNCTION__,
pos, count);
@@ -151,9 +151,9 @@
* @bksize: size of each block that needs mst deprotecting
* @b: output data buffer
- *
+ *
* Multi sector transfer (mst) positioned read. This function will read @count
* blocks of size @bksize bytes each from file descriptor @fd at position @pos
* into the data buffer @b.
- *
+ *
* On success, return the number of successfully read blocks. If this number is
* lower than @count this means that we have reached end of file, that the read
@@ -165,5 +165,5 @@
* return code of either lseek, read, or set to EINVAL in case of invalid
* arguments.
- *
+ *
* NOTE: If an incomplete multi sector transfer has been detected the magic
* will have been changed to magic_BAAD but no error will be returned. Thus it
@@ -207,9 +207,9 @@
* @bksize: size of each block that needs mst protecting
* @b: data buffer to write to disk
- *
+ *
* Multi sector transfer (mst) positioned write. This function will write
* @count blocks of size @bksize bytes each from data buffer @b to file
* descriptor @fd at position @pos.
- *
+ *
* On success, return the number of successfully written blocks. If this number
* is lower than @count this means that the write has been interrutped or that
@@ -234,5 +234,5 @@
{
s64 written, i;
-
+
if (count < 0 || bksize % NTFS_SECTOR_SIZE) {
errno = EINVAL;
@@ -274,5 +274,5 @@
*
* Read @count ntfs clusters starting at logical cluster number @lcn from
- * volume @vol into buffer @b. Return number of clusters read or -1 on error,
+ * volume @vol into buffer @b. Return number of clusters read or -1 on error,
* with errno set to the error code.
*/
@@ -281,5 +281,5 @@
{
s64 br;
-
+
if (!vol || lcn < 0 || count < 0) {
errno = EINVAL;
Index: inode.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/inode.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -U2 -r1.14 -r1.15
--- inode.c 9 Jul 2002 19:17:49 -0000 1.14
+++ inode.c 11 Jul 2002 16:20:33 -0000 1.15
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Index: mft.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/mft.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -U2 -r1.31 -r1.32
--- mft.c 8 Jul 2002 06:23:22 -0000 1.31
+++ mft.c 11 Jul 2002 16:20:33 -0000 1.32
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -80,5 +80,5 @@
/**
- * ntfs_write_mft_records - write mft records to disk
+ * ntfs_write_mft_records - write mft records to disk
* @vol: volume to write to
* @mref: starting mft record number to write
@@ -198,5 +198,5 @@
ATTR_RECORD *a;
int err;
-
+
if (!vol || !mrec) {
errno = EINVAL;
Index: mst.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/mst.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -U2 -r1.5 -r1.6
--- mst.c 2 Jul 2002 23:47:10 -0000 1.5
+++ mst.c 11 Jul 2002 16:20:34 -0000 1.6
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -29,5 +29,5 @@
* @b: pointer to the data to deprotect
* @size: size in bytes of @b
- *
+ *
* Perform the necessary post read multi sector transfer fixups and detect the
* presence of incomplete multi sector transfers. - In that case, overwrite the
@@ -56,11 +56,11 @@
return -1;
}
- /* Position of usn in update sequence array. */
+ /* Position of usn in update sequence array. */
usa_pos = (u16*)b + usa_ofs/sizeof(u16);
- /*
+ /*
* The update sequence number which has to be equal to each of the
* u16 values before they are fixed up. Note no need to care for
* endianness since we are comparing and moving data for on disk
- * structures which means the data is consistent. - If it is
+ * structures which means the data is consistent. - If it is
* consistenty the wrong endianness it doesn't make any difference.
*/
@@ -106,5 +106,5 @@
* @b: pointer to the data to protect
* @size: size in bytes of @b
- *
+ *
* Perform the necessary pre write multi sector transfer fixup on the data
* pointer to by @b of @size.
@@ -143,8 +143,8 @@
return -1;
}
- /* Position of usn in update sequence array. */
+ /* Position of usn in update sequence array. */
usa_pos = (u16*)((u8*)b + usa_ofs);
/*
- * Cyclically increment the update sequence number
+ * Cyclically increment the update sequence number
* (skipping 0 and -1, i.e. 0xffff).
*/
@@ -159,5 +159,5 @@
while (usa_count--) {
/*
- * Increment the position in the usa and save the
+ * Increment the position in the usa and save the
* original data from the data buffer into the usa.
*/
@@ -174,5 +174,5 @@
* ntfs_post_write_mst_fixup - deprotect multi sector transfer protected data
* @b: pointer to the data to deprotect
- *
+ *
* Perform the necessary post write multi sector transfer fixup, not checking
* for any errors, because we assume we have just used
@@ -187,5 +187,5 @@
u16 usa_count = le16_to_cpu(b->usa_count) - 1;
- /* Position of usn in update sequence array. */
+ /* Position of usn in update sequence array. */
usa_pos = (u16*)b + usa_ofs/sizeof(u16);
Index: runlist.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/runlist.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -U2 -r1.2 -r1.3
--- runlist.c 11 Jul 2002 13:18:11 -0000 1.2
+++ runlist.c 11 Jul 2002 16:20:34 -0000 1.3
@@ -1099,5 +1099,5 @@
return -1;
}
-
+
/**
* ntfs_build_mapping_pairs - build the mapping pairs array from a run list
Index: unistr.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/unistr.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -U2 -r1.19 -r1.20
--- unistr.c 8 Jul 2002 23:27:16 -0000 1.19
+++ unistr.c 11 Jul 2002 16:20:34 -0000 1.20
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -97,5 +97,5 @@
*
* ntfs_collate_names collates two Unicode names and returns:
- *
+ *
* -1 if the first name collates before the second one,
* 0 if the names match,
@@ -156,5 +156,5 @@
* The strings in little endian format and appropriate le16_to_cpu()
* conversion is performed on non-little endian machines.
- *
+ *
* The function returns an integer less than, equal to, or greater than zero
* if @s1 (or the first @n Unicode characters thereof) is found, respectively,
@@ -196,5 +196,5 @@
* ignoring case. The strings in little endian format and appropriate
* le16_to_cpu() conversion is performed on non-little endian machines.
- *
+ *
* Each character is uppercased using the @upcase table before the comparison.
*
Index: volume.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/volume.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -U2 -r1.48 -r1.49
--- volume.c 9 Jul 2002 19:17:49 -0000 1.48
+++ volume.c 11 Jul 2002 16:20:34 -0000 1.49
@@ -11,11 +11,11 @@
* (at your option) any later version.
*
- * This program/include file is distributed in the hope that it will be
- * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+ * This program/include file is distributed in the hope that it will be
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program (in the main directory of the Linux-NTFS
+ * along with this program (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -467,10 +467,10 @@
* is implemented:
* MS_RDONLY - mount volume read-only
- *
+ *
* The function opens the device or file @name and verifies that it contains a
* valid bootsector. Then, it allocates an ntfs_volume structure and initializes
* some of the values inside the structure from the information stored in the
* bootsector. It proceeds to load the necessary system files and completes
- * setting up the structure.
+ * setting up the structure.
*
* Return the allocated volume structure on success and NULL on error with
@@ -834,5 +834,5 @@
if (hasmntopt(mnt, "ro") && !hasmntopt(mnt, "rw"))
*mnt_flags |= NTFS_MF_READONLY;
- return 0;
+ return 0;
}
#endif
|