summaryrefslogtreecommitdiff
path: root/fs/ntfs/attrib.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-10-04 15:18:56 +0100
committerAnton Altaparmakov <aia21@cantab.net>2005-10-04 15:18:56 +0100
commit2d86829b846d1447a6ab5af4060fc9f301521317 (patch)
treedeec965c0fb9681376fc4317846eaf5d0e922f21 /fs/ntfs/attrib.h
parent2a6fc4e1b0f7d2ec3711d5b1782fb30f78cca765 (diff)
NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_extend_allocation(), a function to
extend the allocation of an attributes. Optionally, the data size, but not the initialized size can be extended, too. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/attrib.h')
-rw-r--r--fs/ntfs/attrib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ntfs/attrib.h b/fs/ntfs/attrib.h
index a959af9cef12..9074886b44ba 100644
--- a/fs/ntfs/attrib.h
+++ b/fs/ntfs/attrib.h
@@ -105,6 +105,9 @@ extern int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a,
extern int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size);
+extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
+ const s64 new_data_size, const s64 data_start);
+
extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
const u8 val);