aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/lcnalloc.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-10-04 09:01:14 -0400
committerAnton Altaparmakov <aia21@cantab.net>2005-10-04 09:01:14 -0400
commit69b41e3c0223bd38cf23e3d8f1385963089fbf22 (patch)
tree6a1fc55f654d6f7cb745bba032115d5590cc5931 /fs/ntfs/lcnalloc.c
parentfd9d63678d42ffd4312815ac720a12920642eb36 (diff)
NTFS: Change ntfs_attr_find_vcn_nolock() to also take an optional attribute
search context as argument. This allows calling it with the mft record mapped. Update all callers. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/lcnalloc.c')
-rw-r--r--fs/ntfs/lcnalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/lcnalloc.c b/fs/ntfs/lcnalloc.c
index 5af3bf0b7eee..8e60c47fafac 100644
--- a/fs/ntfs/lcnalloc.c
+++ b/fs/ntfs/lcnalloc.c
@@ -839,7 +839,7 @@ s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
839 839
840 total_freed = real_freed = 0; 840 total_freed = real_freed = 0;
841 841
842 rl = ntfs_attr_find_vcn_nolock(ni, start_vcn, TRUE); 842 rl = ntfs_attr_find_vcn_nolock(ni, start_vcn, NULL);
843 if (IS_ERR(rl)) { 843 if (IS_ERR(rl)) {
844 if (!is_rollback) 844 if (!is_rollback)
845 ntfs_error(vol->sb, "Failed to find first runlist " 845 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,
893 893
894 /* Attempt to map runlist. */ 894 /* Attempt to map runlist. */
895 vcn = rl->vcn; 895 vcn = rl->vcn;
896 rl = ntfs_attr_find_vcn_nolock(ni, vcn, TRUE); 896 rl = ntfs_attr_find_vcn_nolock(ni, vcn, NULL);
897 if (IS_ERR(rl)) { 897 if (IS_ERR(rl)) {
898 err = PTR_ERR(rl); 898 err = PTR_ERR(rl);
899 if (!is_rollback) 899 if (!is_rollback)