Commit b16d21bd authored by Anton Altaparmakov's avatar Anton Altaparmakov

NTFS: Add fs/ntfs/mft.[hc]::ntfs_mft_record_alloc() and various helper

      functions used by it.
Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
parent 9d401e5b
...@@ -136,6 +136,8 @@ ToDo/Notes: ...@@ -136,6 +136,8 @@ ToDo/Notes:
- Add helpers fs/ntfs/layout.h::MK_MREF() and MK_LE_MREF(). - Add helpers fs/ntfs/layout.h::MK_MREF() and MK_LE_MREF().
- Modify fs/ntfs/mft.c::map_extent_mft_record() to only verify the mft - Modify fs/ntfs/mft.c::map_extent_mft_record() to only verify the mft
record sequence number if it is specified (i.e. not zero). record sequence number if it is specified (i.e. not zero).
- Add fs/ntfs/mft.[hc]::ntfs_mft_record_alloc() and various helper
functions used by it.
2.1.20 - Fix two stupid bugs introduced in 2.1.18 release. 2.1.20 - Fix two stupid bugs introduced in 2.1.18 release.
......
This diff is collapsed.
...@@ -118,6 +118,8 @@ extern BOOL ntfs_may_write_mft_record(ntfs_volume *vol, ...@@ -118,6 +118,8 @@ extern BOOL ntfs_may_write_mft_record(ntfs_volume *vol,
const unsigned long mft_no, const MFT_RECORD *m, const unsigned long mft_no, const MFT_RECORD *m,
ntfs_inode **locked_ni); ntfs_inode **locked_ni);
extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
ntfs_inode *base_ni, MFT_RECORD **mrec);
extern int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m); extern int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m);
#endif /* NTFS_RW */ #endif /* NTFS_RW */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment