diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-03-08 00:43:38 +0300 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-05 14:20:49 +0400 |
commit | c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 (patch) | |
tree | 773105bdde7454d10dccc127048a9847f7e01f11 /fs/ntfs/runlist.h | |
parent | 271849a98849394ea85fa7caa8a1aaa2b3a849b7 (diff) | |
download | linux-c0c1cc0e46b36347f11b566f99087dc5e6fc1b89.tar.xz |
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/runlist.h')
-rw-r--r-- | fs/ntfs/runlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs/runlist.h b/fs/ntfs/runlist.h index 7107fde59df9..60c42f3a3fc4 100644 --- a/fs/ntfs/runlist.h +++ b/fs/ntfs/runlist.h @@ -66,6 +66,8 @@ typedef enum { LCN_HOLE = -1, /* Keep this as highest value or die! */ LCN_RL_NOT_MAPPED = -2, LCN_ENOENT = -3, + LCN_ENOMEM = -4, + LCN_EIO = -5, } LCN_SPECIAL_VALUES; extern runlist_element *ntfs_runlists_merge(runlist_element *drl, |