|
@@ -1981,9 +1981,9 @@ static noinline void block_dump___mark_inode_dirty(struct inode *inode)
|
|
* page->mapping->host, so the page-dirtying time is recorded in the internal
|
|
* page->mapping->host, so the page-dirtying time is recorded in the internal
|
|
* blockdev inode.
|
|
* blockdev inode.
|
|
*/
|
|
*/
|
|
-#define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC)
|
|
|
|
void __mark_inode_dirty(struct inode *inode, int flags)
|
|
void __mark_inode_dirty(struct inode *inode, int flags)
|
|
{
|
|
{
|
|
|
|
+#define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC)
|
|
struct super_block *sb = inode->i_sb;
|
|
struct super_block *sb = inode->i_sb;
|
|
int dirtytime;
|
|
int dirtytime;
|
|
|
|
|
|
@@ -2093,6 +2093,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
|
|
out_unlock_inode:
|
|
out_unlock_inode:
|
|
spin_unlock(&inode->i_lock);
|
|
spin_unlock(&inode->i_lock);
|
|
|
|
|
|
|
|
+#undef I_DIRTY_INODE
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(__mark_inode_dirty);
|
|
EXPORT_SYMBOL(__mark_inode_dirty);
|
|
|
|
|