]> err.no Git - linux-2.6/commit
NTFS: Fix compilation when configured read-only.
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 17 Mar 2005 10:51:33 +0000 (10:51 +0000)
committerAnton Altaparmakov <aia21@cantab.net>
Thu, 5 May 2005 10:39:30 +0000 (11:39 +0100)
commit53d59aad9326199ef5749c97513db498309a057e
tree3fc3e99673cf5c5c8f275cca1ec7ed2dfe5fa192
parent1ef334d372d6a7006e20f56f7e85d8f4ec32e3c2
NTFS: Fix compilation when configured read-only.

- Add ifdef NTFS_RW around write specific code if fs/ntfs/runlist.[hc] and
  fs/ntfs/attrib.[hc].
- Minor bugfix to fs/ntfs/attrib.c::ntfs_attr_make_non_resident() where the
  runlist was not freed in all error cases.
- Add fs/ntfs/runlist.[hc]::ntfs_rl_find_vcn_nolock().

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/attrib.c
fs/ntfs/attrib.h
fs/ntfs/lcnalloc.c
fs/ntfs/runlist.c
fs/ntfs/runlist.h