]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ntfs/lcnalloc.c
NTFS: Change ntfs_attr_find_vcn_nolock() to also take an optional attribute
[net-next-2.6.git] / fs / ntfs / lcnalloc.c
index 5af3bf0b7eee15220a26841ad0812c6766720f38..8e60c47fafacd1c5ba96e5e262857fa53c5f35cf 100644 (file)
@@ -839,7 +839,7 @@ s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
 
        total_freed = real_freed = 0;
 
-       rl = ntfs_attr_find_vcn_nolock(ni, start_vcn, TRUE);
+       rl = ntfs_attr_find_vcn_nolock(ni, start_vcn, NULL);
        if (IS_ERR(rl)) {
                if (!is_rollback)
                        ntfs_error(vol->sb, "Failed to find first runlist "
@@ -893,7 +893,7 @@ s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
 
                        /* Attempt to map runlist. */
                        vcn = rl->vcn;
-                       rl = ntfs_attr_find_vcn_nolock(ni, vcn, TRUE);
+                       rl = ntfs_attr_find_vcn_nolock(ni, vcn, NULL);
                        if (IS_ERR(rl)) {
                                err = PTR_ERR(rl);
                                if (!is_rollback)