X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Findex.h;h=846a489e8692b23a93fcfcb47402f735a32b1857;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=159442dfa90a1eb46b13b58bbbd8b2ee74531968;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/ntfs/index.h b/fs/ntfs/index.h index 159442dfa..846a489e8 100644 --- a/fs/ntfs/index.h +++ b/fs/ntfs/index.h @@ -30,6 +30,7 @@ #include "inode.h" #include "attrib.h" #include "mft.h" +#include "aops.h" /** * @idx_ni: index inode containing the @entry described by this context @@ -115,8 +116,6 @@ static inline void ntfs_index_entry_flush_dcache_page(ntfs_index_context *ictx) flush_dcache_page(ictx->page); } -extern void __ntfs_index_entry_mark_dirty(ntfs_index_context *ictx); - /** * ntfs_index_entry_mark_dirty - mark an index entry dirty * @ictx: ntfs index context describing the index entry @@ -140,7 +139,8 @@ static inline void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx) if (ictx->is_in_root) mark_mft_record_dirty(ictx->actx->ntfs_ino); else - __ntfs_index_entry_mark_dirty(ictx); + mark_ntfs_record_dirty(ictx->page, + (u8*)ictx->ia - (u8*)page_address(ictx->page)); } #endif /* NTFS_RW */