aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ufs/ufsmount.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-03-20 21:05:09 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-03-20 21:05:09 +0000
commit16b1f68d8c153996c03f8e73d09d57c1af93f77b (patch)
tree55ff34a58a4b31404c6deb983d15f302ecd6bb39 /sys/ufs/ufs/ufsmount.h
parent2908f971d7acb22137701950d86fab65ffb59dbb (diff)
downloadsrc-16b1f68d8c153996c03f8e73d09d57c1af93f77b.tar.gz
src-16b1f68d8c153996c03f8e73d09d57c1af93f77b.zip
Retire opt_ffs_broken_fixme.h.
Instead of directly calling ffs_snapgone(), use UFS_SNAPGONE() with usual layering. Requested by: bde MFC after: 1 week
Notes
Notes: svn path=/head/; revision=219804
Diffstat (limited to 'sys/ufs/ufs/ufsmount.h')
-rw-r--r--sys/ufs/ufs/ufsmount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ufs/ufsmount.h b/sys/ufs/ufs/ufsmount.h
index b13db4014087..c2cfcfb858e8 100644
--- a/sys/ufs/ufs/ufsmount.h
+++ b/sys/ufs/ufs/ufsmount.h
@@ -104,6 +104,7 @@ struct ufsmount {
int (*um_vfree)(struct vnode *, ino_t, int);
void (*um_ifree)(struct ufsmount *, struct inode *);
int (*um_rdonly)(struct inode *);
+ void (*um_snapgone)(struct inode *);
};
#define UFS_BALLOC(aa, bb, cc, dd, ee, ff) VFSTOUFS((aa)->v_mount)->um_balloc(aa, bb, cc, dd, ee, ff)
@@ -114,6 +115,7 @@ struct ufsmount {
#define UFS_VFREE(aa, bb, cc) VFSTOUFS((aa)->v_mount)->um_vfree(aa, bb, cc)
#define UFS_IFREE(aa, bb) ((aa)->um_ifree(aa, bb))
#define UFS_RDONLY(aa) ((aa)->i_ump->um_rdonly(aa))
+#define UFS_SNAPGONE(aa) ((aa)->i_ump->um_snapgone(aa))
#define UFS_LOCK(aa) mtx_lock(&(aa)->um_lock)
#define UFS_UNLOCK(aa) mtx_unlock(&(aa)->um_lock)