diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
| -rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index e8566bbf0f00..61a99608731e 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
| @@ -91,6 +91,16 @@ xfs_mark_inode_dirty_sync( | |||
| 91 | mark_inode_dirty_sync(inode); | 91 | mark_inode_dirty_sync(inode); | 
| 92 | } | 92 | } | 
| 93 | 93 | ||
| 94 | void | ||
| 95 | xfs_mark_inode_dirty( | ||
| 96 | xfs_inode_t *ip) | ||
| 97 | { | ||
| 98 | struct inode *inode = VFS_I(ip); | ||
| 99 | |||
| 100 | if (!(inode->i_state & (I_WILL_FREE|I_FREEING|I_CLEAR))) | ||
| 101 | mark_inode_dirty(inode); | ||
| 102 | } | ||
| 103 | |||
| 94 | /* | 104 | /* | 
| 95 | * Change the requested timestamp in the given inode. | 105 | * Change the requested timestamp in the given inode. | 
| 96 | * We don't lock across timestamp updates, and we don't log them but | 106 | * We don't lock across timestamp updates, and we don't log them but | 
