]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix errors on compressed NTFS with 512B clusters.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 May 2012 15:37:17 +0000 (17:37 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 May 2012 15:37:17 +0000 (17:37 +0200)
commit1b8463f2c42e5fa2b300ccb4fa5eb416abe5a034
tree9b9d27f3cb568bbd75cb2213e3e297703e304fdc
parent4f8e368fc0daf4a07666b6ad88936ee6c254c3ce
Fix errors on compressed NTFS with 512B clusters.

* include/grub/ntfs.h (grub_ntfscomp_func_t): Use appropriately sized
types.
* grub-core/fs/ntfs.c (grub_ntfs_read): Return correct -1 on error and
not 0.
* grub-core/fs/ntfscomp.c (read_block): Use appropriately-sized types.
Relax check for inline extents.
(ntfscomp): Return correct -1 on error and not 0.
ChangeLog
grub-core/fs/ntfs.c
grub-core/fs/ntfscomp.c
include/grub/ntfs.h