Messages in this thread Patch in this message | | | Subject | [BK-2.5 PATCH] NTFS 2.1.0 3/7: Small bug fix | Date | Wed, 21 Aug 2002 00:45:31 +0100 (BST) | From | Anton Altaparmakov <> |
| |
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/
| |