diff options
author | Alex Elder <aelder@sgi.com> | 2010-03-05 18:45:03 +0100 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-03-05 18:45:03 +0100 |
commit | 9b1f56d60acfd634728f91f34922066c6f80ede6 (patch) | |
tree | e8f64d4bea808341f56f41e724c2920ae6b1ed26 /fs/xfs/linux-2.6/xfs_iops.c | |
parent | Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd (diff) | |
parent | xfs: return inode fork offset in bulkstat for fsr (diff) | |
download | linux-9b1f56d60acfd634728f91f34922066c6f80ede6.tar.xz linux-9b1f56d60acfd634728f91f34922066c6f80ede6.zip |
Merge branch 'for-2.6.34-rc1-batch2' into for-linus
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( mark_inode_dirty_sync(inode); } +void +xfs_mark_inode_dirty( + xfs_inode_t *ip) +{ + struct inode *inode = VFS_I(ip); + + if (!(inode->i_state & (I_WILL_FREE|I_FREEING|I_CLEAR))) + mark_inode_dirty(inode); +} + /* * Change the requested timestamp in the given inode. * We don't lock across timestamp updates, and we don't log them but |