lkml.org 
[lkml]   [2002]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[BK-2.5 PATCH] NTFS 2.1.0 3/7: Small bug fix
Date
From
Linus, please do a

bk pull http://linux-ntfs.bkbits.net/ntfs-2.5

Thanks! The 3rd changeset, fixing a small bug in previous changeset.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/

===================================================================

This will update the following files:

fs/ntfs/aops.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)

through these ChangeSets:

<aia21@cantab.net> (02/08/14 1.456.26.4)
NTFS: Fix silly bug in ntfs_write_block(). iblock and dblock have
different semantics so the check was bogus. Compare the byte sizes
instead.


diff -Nru a/fs/ntfs/aops.c b/fs/ntfs/aops.c
--- a/fs/ntfs/aops.c Tue Aug 20 23:57:24 2002
+++ b/fs/ntfs/aops.c Tue Aug 20 23:57:24 2002
@@ -560,7 +560,8 @@
continue;

/* Make sure we have enough initialized size. */
- if (unlikely((block >= iblock) && (iblock < dblock))) {
+ if (unlikely((block >= iblock) &&
+ (ni->initialized_size < vi->i_size))) {
/*
* If this page is fully outside initialized size, zero
* out all pages between the current initialized size
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.023 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site