diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index b5afcfcdc7d5..264b1e7dacf7 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -71,6 +71,22 @@ xfs_synchronize_atime( | |||
71 | } | 71 | } |
72 | 72 | ||
73 | /* | 73 | /* |
74 | * If the linux inode exists, mark it dirty. | ||
75 | * Used when commiting a dirty inode into a transaction so that | ||
76 | * the inode will get written back by the linux code | ||
77 | */ | ||
78 | void | ||
79 | xfs_mark_inode_dirty_sync( | ||
80 | xfs_inode_t *ip) | ||
81 | { | ||
82 | bhv_vnode_t *vp; | ||
83 | |||
84 | vp = XFS_ITOV_NULL(ip); | ||
85 | if (vp) | ||
86 | mark_inode_dirty_sync(vn_to_inode(vp)); | ||
87 | } | ||
88 | |||
89 | /* | ||
74 | * Change the requested timestamp in the given inode. | 90 | * Change the requested timestamp in the given inode. |
75 | * We don't lock across timestamp updates, and we don't log them but | 91 | * We don't lock across timestamp updates, and we don't log them but |
76 | * we do record the fact that there is dirty information in core. | 92 | * we do record the fact that there is dirty information in core. |