diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:32:21 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:32:21 -0500 |
| commit | 66ce3cf84deba6cc71dcf43c9d56a4278e5f712d (patch) | |
| tree | 7580bcc42fc7c52620b98d78ebdc654bd7ed83ea /fs/xfs/linux-2.6/xfs_iops.c | |
| parent | 05c5cb31ec47cacf38db56d9efaa37ca9d473132 (diff) | |
| parent | 9b1f56d60acfd634728f91f34922066c6f80ede6 (diff) | |
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: (21 commits)
xfs: return inode fork offset in bulkstat for fsr
xfs: Increase the default size of the reserved blocks pool
xfs: truncate delalloc extents when IO fails in writeback
xfs: check for more work before sleeping in xfssyncd
xfs: Fix a build warning in xfs_aops.c
xfs: fix locking for inode cache radix tree tag updates
xfs: remove xfs_ipin/xfs_iunpin
xfs: cleanup xfs_iunpin_wait/xfs_iunpin_nowait
xfs: kill xfs_lrw.h
xfs: factor common xfs_trans_bjoin code
xfs: stop passing opaque handles to xfs_log.c routines
xfs: split xfs_bmap_btalloc
xfs: fix xfs_fsblock_t tracing
xfs: fix inode pincount check in fsync
xfs: Non-blocking inode locking in IO completion
xfs: implement optimized fdatasync
xfs: remove wrapper for the fsync file operation
xfs: remove wrappers for read/write file operations
xfs: merge xfs_lrw.c into xfs_file.c
xfs: fix dquota trace format
...
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 |
