aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-04-06 22:01:56 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 11:31:19 -0400
commit458c5b0822a669d170fdb7bb16c9145f652ebe06 (patch)
treef2c53998492306a8aaf6d20ded229b69cba17348 /include
parente62687468588f47c32256e3c8c36157c40111b6e (diff)
nilfs2: clean up sketch file
The sketch file is a file to mark checkpoints with user data. It was experimentally introduced in the original implementation, and now obsolete. The file was handled differently with regular files; the file size got truncated when a checkpoint was created. This stops the special treatment and will treat it as a regular file. Most users are not affected because mkfs.nilfs2 no longer makes this file. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nilfs2_fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/nilfs2_fs.h b/include/linux/nilfs2_fs.h
index aa93f0ee29d4..e9c84aa4a8e1 100644
--- a/include/linux/nilfs2_fs.h
+++ b/include/linux/nilfs2_fs.h
@@ -494,7 +494,6 @@ nilfs_checkpoint_##name(const struct nilfs_checkpoint *cp) \
494 494
495NILFS_CHECKPOINT_FNS(SNAPSHOT, snapshot) 495NILFS_CHECKPOINT_FNS(SNAPSHOT, snapshot)
496NILFS_CHECKPOINT_FNS(INVALID, invalid) 496NILFS_CHECKPOINT_FNS(INVALID, invalid)
497NILFS_CHECKPOINT_FNS(SKETCH, sketch)
498 497
499/** 498/**
500 * struct nilfs_cpinfo - checkpoint information 499 * struct nilfs_cpinfo - checkpoint information
@@ -527,7 +526,6 @@ nilfs_cpinfo_##name(const struct nilfs_cpinfo *cpinfo) \
527 526
528NILFS_CPINFO_FNS(SNAPSHOT, snapshot) 527NILFS_CPINFO_FNS(SNAPSHOT, snapshot)
529NILFS_CPINFO_FNS(INVALID, invalid) 528NILFS_CPINFO_FNS(INVALID, invalid)
530NILFS_CPINFO_FNS(SKETCH, sketch)
531 529
532 530
533/** 531/**