aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nilfs2_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nilfs2_fs.h')
-rw-r--r--include/linux/nilfs2_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nilfs2_fs.h b/include/linux/nilfs2_fs.h
index e9c84aa4a8e1..cbce6647f7fd 100644
--- a/include/linux/nilfs2_fs.h
+++ b/include/linux/nilfs2_fs.h
@@ -470,6 +470,7 @@ enum {
470 NILFS_CHECKPOINT_SNAPSHOT, 470 NILFS_CHECKPOINT_SNAPSHOT,
471 NILFS_CHECKPOINT_INVALID, 471 NILFS_CHECKPOINT_INVALID,
472 NILFS_CHECKPOINT_SKETCH, 472 NILFS_CHECKPOINT_SKETCH,
473 NILFS_CHECKPOINT_MINOR,
473}; 474};
474 475
475#define NILFS_CHECKPOINT_FNS(flag, name) \ 476#define NILFS_CHECKPOINT_FNS(flag, name) \
@@ -494,6 +495,7 @@ nilfs_checkpoint_##name(const struct nilfs_checkpoint *cp) \
494 495
495NILFS_CHECKPOINT_FNS(SNAPSHOT, snapshot) 496NILFS_CHECKPOINT_FNS(SNAPSHOT, snapshot)
496NILFS_CHECKPOINT_FNS(INVALID, invalid) 497NILFS_CHECKPOINT_FNS(INVALID, invalid)
498NILFS_CHECKPOINT_FNS(MINOR, minor)
497 499
498/** 500/**
499 * struct nilfs_cpinfo - checkpoint information 501 * struct nilfs_cpinfo - checkpoint information
@@ -526,6 +528,7 @@ nilfs_cpinfo_##name(const struct nilfs_cpinfo *cpinfo) \
526 528
527NILFS_CPINFO_FNS(SNAPSHOT, snapshot) 529NILFS_CPINFO_FNS(SNAPSHOT, snapshot)
528NILFS_CPINFO_FNS(INVALID, invalid) 530NILFS_CPINFO_FNS(INVALID, invalid)
531NILFS_CPINFO_FNS(MINOR, minor)
529 532
530 533
531/** 534/**