diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-03-07 16:43:38 -0500 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-05 06:20:49 -0400 |
commit | c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 (patch) | |
tree | 773105bdde7454d10dccc127048a9847f7e01f11 /fs/ntfs/attrib.h | |
parent | 271849a98849394ea85fa7caa8a1aaa2b3a849b7 (diff) |
NTFS: - Fix bug in fs/ntfs/attrib.c::ntfs_find_vcn_nolock() where after
dropping the read lock and taking the write lock we were not checking
whether someone else did not already do the work we wanted to do.
- Rename ntfs_find_vcn_nolock() to ntfs_attr_find_vcn_nolock().
- Tidy up some comments in fs/ntfs/runlist.c.
- Add LCN_ENOMEM and LCN_EIO definitions to fs/ntfs/runlist.h.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/attrib.h')
-rw-r--r-- | fs/ntfs/attrib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/attrib.h b/fs/ntfs/attrib.h index 75041c89c738..e0a50f1ca76f 100644 --- a/fs/ntfs/attrib.h +++ b/fs/ntfs/attrib.h | |||
@@ -66,8 +66,8 @@ extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn); | |||
66 | extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, | 66 | extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, |
67 | const BOOL write_locked); | 67 | const BOOL write_locked); |
68 | 68 | ||
69 | extern runlist_element *ntfs_find_vcn_nolock(ntfs_inode *ni, const VCN vcn, | 69 | extern runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, |
70 | const BOOL write_locked); | 70 | const VCN vcn, const BOOL write_locked); |
71 | 71 | ||
72 | int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name, | 72 | int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name, |
73 | const u32 name_len, const IGNORE_CASE_BOOL ic, | 73 | const u32 name_len, const IGNORE_CASE_BOOL ic, |