diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-08-03 23:22:49 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-08-03 23:22:49 -0400 |
commit | eac152b4742ec5f1ed04d73d699ae2be3607d56b (patch) | |
tree | 86836d52d8fadb2ae85b76f0c75cc2c72ceebb1d /fs/xfs/xfs_vnode.h | |
parent | ad3714b82c631a34724da09a7daa53afcab952fa (diff) |
xfs: kill VN_DIRTY()
Only one user of the macro and the dirty mapping check is redundant
so just get rid of it.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_vnode.h')
-rw-r--r-- | fs/xfs/xfs_vnode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h index e8a77383c0d5..07b475aa896c 100644 --- a/fs/xfs/xfs_vnode.h +++ b/fs/xfs/xfs_vnode.h | |||
@@ -39,8 +39,6 @@ struct attrlist_cursor_kern; | |||
39 | */ | 39 | */ |
40 | #define VN_MAPPED(vp) mapping_mapped(vp->i_mapping) | 40 | #define VN_MAPPED(vp) mapping_mapped(vp->i_mapping) |
41 | #define VN_CACHED(vp) (vp->i_mapping->nrpages) | 41 | #define VN_CACHED(vp) (vp->i_mapping->nrpages) |
42 | #define VN_DIRTY(vp) mapping_tagged(vp->i_mapping, \ | ||
43 | PAGECACHE_TAG_DIRTY) | ||
44 | 42 | ||
45 | 43 | ||
46 | #endif /* __XFS_VNODE_H__ */ | 44 | #endif /* __XFS_VNODE_H__ */ |