Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6910/ntfsprogs
Modified Files:
ntfscluster.c
Log Message:
Fix incorrect volume usage calculation
Index: ntfscluster.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfscluster.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- ntfscluster.c 19 Jun 2005 21:09:41 -0000 1.25
+++ ntfscluster.c 21 Aug 2005 00:50:15 -0000 1.26
@@ -269,7 +269,7 @@ static int info (ntfs_volume *vol)
inuse++;
- a_ctx = ntfs_attr_get_search_ctx (NULL, m_ctx->inode->mrec);
+ a_ctx = ntfs_attr_get_search_ctx (m_ctx->inode, NULL);
while ((rec = find_attribute (AT_UNUSED, a_ctx))) {
|