diff options
Diffstat (limited to 'fs/ntfs/attrib.c')
-rw-r--r-- | fs/ntfs/attrib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/attrib.c b/fs/ntfs/attrib.c index 34ea405b883d..c6b2bb64d651 100644 --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c | |||
@@ -1317,7 +1317,7 @@ int ntfs_attr_make_non_resident(ntfs_inode *ni) | |||
1317 | page = NULL; | 1317 | page = NULL; |
1318 | } | 1318 | } |
1319 | /* Determine the size of the mapping pairs array. */ | 1319 | /* Determine the size of the mapping pairs array. */ |
1320 | mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0); | 1320 | mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0, -1); |
1321 | if (unlikely(mp_size < 0)) { | 1321 | if (unlikely(mp_size < 0)) { |
1322 | err = mp_size; | 1322 | err = mp_size; |
1323 | ntfs_debug("Failed to get size for mapping pairs array, error " | 1323 | ntfs_debug("Failed to get size for mapping pairs array, error " |
@@ -1416,7 +1416,7 @@ int ntfs_attr_make_non_resident(ntfs_inode *ni) | |||
1416 | cpu_to_sle64(attr_size); | 1416 | cpu_to_sle64(attr_size); |
1417 | /* Generate the mapping pairs array into the attribute record. */ | 1417 | /* Generate the mapping pairs array into the attribute record. */ |
1418 | err = ntfs_mapping_pairs_build(vol, (u8*)a + mp_ofs, | 1418 | err = ntfs_mapping_pairs_build(vol, (u8*)a + mp_ofs, |
1419 | arec_size - mp_ofs, rl, 0, NULL); | 1419 | arec_size - mp_ofs, rl, 0, -1, NULL); |
1420 | if (unlikely(err)) { | 1420 | if (unlikely(err)) { |
1421 | ntfs_debug("Failed to build mapping pairs, error code %i.", | 1421 | ntfs_debug("Failed to build mapping pairs, error code %i.", |
1422 | err); | 1422 | err); |