summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/attrib.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-03-07 21:36:18 +0000
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 11:18:43 +0100
commit271849a98849394ea85fa7caa8a1aaa2b3a849b7 (patch)
tree08e932656e463845faaa3610059c67e16aa92b7d /fs/ntfs/attrib.h
parent7e693073a940c7484c0c21e3e1603e29ce46f30c (diff)
downloadlinux-stable-271849a98849394ea85fa7caa8a1aaa2b3a849b7.tar.gz
linux-stable-271849a98849394ea85fa7caa8a1aaa2b3a849b7.tar.bz2
linux-stable-271849a98849394ea85fa7caa8a1aaa2b3a849b7.zip
NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_vcn_to_lcn_nolock() used by the new
write code. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/attrib.h')
-rw-r--r--fs/ntfs/attrib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ntfs/attrib.h b/fs/ntfs/attrib.h
index 3eb451657025..75041c89c738 100644
--- a/fs/ntfs/attrib.h
+++ b/fs/ntfs/attrib.h
@@ -2,7 +2,7 @@
* attrib.h - Defines for attribute handling in NTFS Linux kernel driver.
* Part of the Linux-NTFS project.
*
- * Copyright (c) 2001-2004 Anton Altaparmakov
+ * Copyright (c) 2001-2005 Anton Altaparmakov
* Copyright (c) 2002 Richard Russon
*
* This program/include file is free software; you can redistribute it and/or
@@ -63,6 +63,9 @@ typedef struct {
extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn);
extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn);
+extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
+ const BOOL write_locked);
+
extern runlist_element *ntfs_find_vcn_nolock(ntfs_inode *ni, const VCN vcn,
const BOOL write_locked);