Mercurial > illumos > illumos-gate
diff usr/src/uts/common/fs/zfs/dsl_dataset.c @ 10373:bcf97ee54990
6395956 snapshot dir needs real c/mtime
author | Chris Kirby <chris.kirby@sun.com> |
---|---|
date | Mon, 24 Aug 2009 16:11:19 -0600 |
parents | 108f0058f837 |
children | 21cb6e67d108 |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/zfs/dsl_dataset.c Mon Aug 24 16:42:48 2009 -0400 +++ b/usr/src/uts/common/fs/zfs/dsl_dataset.c Mon Aug 24 16:11:19 2009 -0600 @@ -321,6 +321,8 @@ matchtype_t mt; int err; + dsl_dir_snap_cmtime_update(ds->ds_dir); + if (ds->ds_phys->ds_flags & DS_FLAG_CI_DATASET) mt = MT_FIRST; else @@ -1968,6 +1970,8 @@ dsl_pool_ds_snapshotted(ds, tx); + dsl_dir_snap_cmtime_update(ds->ds_dir); + spa_history_internal_log(LOG_DS_SNAPSHOT, dp->dp_spa, tx, cr, "dataset = %llu", dsobj); }