]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: enlarge s_volume_name member in nilfs_super_block
authorJiro SEKIBA <jir@unicus.jp>
Sun, 2 May 2010 14:29:04 +0000 (23:29 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 10 May 2010 02:32:33 +0000 (11:32 +0900)
commit04f85a68d09d4ed178b27c03dffe7912b6c6db1e
tree169526937ed5d61092680328a2ee1ba4b5221fe9
parent72f3f1255c22a7d2efc1f3fed8c50b9a49100337
nilfs2: enlarge s_volume_name member in nilfs_super_block

Current s_volume_name has 16 bytes, which is too small as modern filesystem.

s_last_mounted resides just after s_volume_name and has 64 bytes.

s_last_mounted is historically came from ext2, but not used in nilfs2 at all.
Deleting s_last_mounted member and merging that space with s_volume_name
enlarge s_volume_name upto 80 bytes for volume label.

When user land tools see the old header for new disk, it will just ignore
additional bytes stored in s_last_mounted.  While, old disk format has only
16 bytes label, it doesn't affects in case seeing the new header for old disk.

Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
include/linux/nilfs2_fs.h