Changes by: uvman
Update of /cvs/linux-ntfs/ntfsprogs/include/ntfs
In directory delta357:/tmp/cvs-serv21663/include/ntfs
Modified Files:
index.h
Log Message:
Move ntfs_index_entry_mark_dirty() from index.h to index.c. (Szaka)
Index: index.h
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/include/ntfs/index.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- index.h 3 Aug 2006 04:30:41 -0000 1.15
+++ index.h 29 Oct 2006 00:55:45 -0000 1.16
@@ -126,26 +126,6 @@ extern char *ntfs_ie_filename_get(INDEX_
extern void ntfs_ie_filename_dump(INDEX_ENTRY *ie);
extern void ntfs_ih_filename_dump(INDEX_HEADER *ih);
-/**
- * ntfs_index_entry_mark_dirty - mark an index entry dirty
- * @ictx: ntfs index context describing the index entry
- *
- * Mark the index entry described by the index entry context @ictx dirty.
- *
- * If the index entry is in the index root attribute, simply mark the inode
- * containing the index root attribute dirty. This ensures the mftrecord, and
- * hence the index root attribute, will be written out to disk later.
- *
- * If the index entry is in an index block belonging to the index allocation
- * attribute, set ib_dirty to TRUE, thus index block will be updated during
- * ntfs_index_ctx_put.
- */
-static inline void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx)
-{
- if (ictx->is_in_root)
- ntfs_inode_mark_dirty(ictx->actx->ntfs_ino);
- else
- ictx->ib_dirty = TRUE;
-}
+extern void ntfs_index_entry_mark_dirty(ntfs_index_context *ictx);
#endif /* _NTFS_INDEX_H */
|