aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-03-16 03:24:46 -0400
committerChristoph Hellwig <hch@brick.lst.de>2009-03-16 03:24:46 -0400
commit8fab451e3cfe02a5e3dfc4bab3cfb975bc11fc09 (patch)
tree7fd614c516cb7713adda58ce0a1570cd8145c205 /fs/xfs/linux-2.6
parent076e6acb8f0d9532ee6c50512c1927c0a8e34f2f (diff)
xfs: kill vn_atime_* helpers.
Two out of three are unused already, and the third is better done open-coded with a comment describing what's going on here. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r--fs/xfs/linux-2.6/xfs_vnode.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.h b/fs/xfs/linux-2.6/xfs_vnode.h
index ea4675c48209..de9dc747b451 100644
--- a/fs/xfs/linux-2.6/xfs_vnode.h
+++ b/fs/xfs/linux-2.6/xfs_vnode.h
@@ -58,25 +58,6 @@ static inline int VN_BAD(struct inode *vp)
58} 58}
59 59
60/* 60/*
61 * Extracting atime values in various formats
62 */
63static inline void vn_atime_to_bstime(struct inode *vp, xfs_bstime_t *bs_atime)
64{
65 bs_atime->tv_sec = vp->i_atime.tv_sec;
66 bs_atime->tv_nsec = vp->i_atime.tv_nsec;
67}
68
69static inline void vn_atime_to_timespec(struct inode *vp, struct timespec *ts)
70{
71 *ts = vp->i_atime;
72}
73
74static inline void vn_atime_to_time_t(struct inode *vp, time_t *tt)
75{
76 *tt = vp->i_atime.tv_sec;
77}
78
79/*
80 * Some useful predicates. 61 * Some useful predicates.
81 */ 62 */
82#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping) 63#define VN_MAPPED(vp) mapping_mapped(vp->i_mapping)