summaryrefslogtreecommitdiff
path: root/fs/ntfs/runlist.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-09-08 20:26:34 +0100
committerAnton Altaparmakov <aia21@cantab.net>2005-09-08 20:26:34 +0100
commit6e48321a40610f7213e3ac75ba234f6f8b3ed5f5 (patch)
tree6ba4b289e1fd0c8a3554a75206c4d2a88b54d1bc /fs/ntfs/runlist.h
parent3ffc5a443824fcf426d8d35dc632acc4dd9fb6d1 (diff)
downloadlwn-6e48321a40610f7213e3ac75ba234f6f8b3ed5f5.tar.gz
lwn-6e48321a40610f7213e3ac75ba234f6f8b3ed5f5.zip
NTFS: Add ntfs_rl_punch_nolock() which punches a caller specified hole into a runlist.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/runlist.h')
-rw-r--r--fs/ntfs/runlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ntfs/runlist.h b/fs/ntfs/runlist.h
index aa0ee6540e7c..47728fbb610b 100644
--- a/fs/ntfs/runlist.h
+++ b/fs/ntfs/runlist.h
@@ -94,6 +94,9 @@ extern int ntfs_mapping_pairs_build(const ntfs_volume *vol, s8 *dst,
extern int ntfs_rl_truncate_nolock(const ntfs_volume *vol,
runlist *const runlist, const s64 new_length);
+int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
+ const VCN start, const s64 length);
+
#endif /* NTFS_RW */
#endif /* _LINUX_NTFS_RUNLIST_H */