Ryusuke Konishi
d240e06713
nilfs2: disallow remount of snapshot from/to a regular mount
...
Snapshots and regular ro/rw mounts are essentially-different within
the meaning whether the checkpoint is static or not and is marked with
a snapshot flag or not.
The current implemenation, however, allows to remount a snapshot to a
regular rw-mount if the checkpoint number equals the latest one.
This transition is actually impossible since changing a checkpoint to
a snapshot makes another checkpoint, thus the condition is never
satisfied.
This fixes the weird state of affairs, and specifically separates
snapshots and regular rw/ro-mounts.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2010-05-10 11:32:34 +09:00
..
alloc.c
nilfs2: add kernel doc comments to persistent object allocator functions
2010-05-10 11:32:31 +09:00
alloc.h
nilfs2: add kernel doc comments to persistent object allocator functions
2010-05-10 11:32:31 +09:00
bmap.c
nilfs2: trivial coding style fix
2009-12-25 13:01:50 +09:00
bmap.h
bmap_union.h
btnode.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
btnode.h
btree.c
nilfs2: cleanup multi kmem_cache_{create,destroy} code
2010-05-10 11:32:30 +09:00
btree.h
nilfs2: cleanup multi kmem_cache_{create,destroy} code
2010-05-10 11:32:30 +09:00
cpfile.c
nilfs2: trivial coding style fix
2009-12-25 13:01:50 +09:00
cpfile.h
dat.c
nilfs2: fix various typos in comments
2010-03-14 10:29:51 +09:00
dat.h
dir.c
nilfs2: fix typo "cout" -> "count" in error message
2010-03-14 10:29:50 +09:00
direct.c
nilfs2: trivial coding style fix
2009-12-25 13:01:50 +09:00
direct.h
file.c
gcdat.c
gcinode.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ifile.c
ifile.h
inode.c
nilfs2: use huge_encode_dev/huge_decode_dev
2010-05-10 11:32:34 +09:00
ioctl.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2
2010-04-12 18:34:25 -07:00
Kconfig
Makefile
mdt.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
mdt.h
namei.c
nilfs really shouldn't slap struct dentry on stack...
2010-03-03 14:07:58 -05:00
nilfs.h
nilfs really shouldn't slap struct dentry on stack...
2010-03-03 14:07:58 -05:00
page.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
page.h
recovery.c
nilfs2: insert checkpoint number in segment summary header
2010-05-10 11:32:31 +09:00
sb.h
segbuf.c
nilfs2: insert checkpoint number in segment summary header
2010-05-10 11:32:31 +09:00
segbuf.h
nilfs2: insert checkpoint number in segment summary header
2010-05-10 11:32:31 +09:00
segment.c
nilfs2: make nilfs_sc_*_ops static
2010-05-10 11:32:31 +09:00
segment.h
nilfs2: change sc_timer from a pointer to an embedded one in struct nilfs_sc_info
2010-05-10 11:32:31 +09:00
sufile.c
nilfs2: fix various typos in comments
2010-03-14 10:29:51 +09:00
sufile.h
super.c
nilfs2: disallow remount of snapshot from/to a regular mount
2010-05-10 11:32:34 +09:00
the_nilfs.c
nilfs2: use checkpoint number instead of timestamp to select super block
2010-05-10 11:32:32 +09:00
the_nilfs.h
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00