]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: add missing endian conversion on super block magic number
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 1 May 2010 01:07:07 +0000 (10:07 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 10 May 2010 02:32:32 +0000 (11:32 +0900)
commit4465562a8b678a3bf3e697664bd0debf56d66b3d
tree5009abb0edc749f78d60f7f1e8c098b1ab5fb509
parent379b7229145752e7ca5b6c793874dbea3011b29b
nilfs2: add missing endian conversion on super block magic number

This adds missing endian conversions in comparision of the magic
number of super blocks.  It was coincidence that prior versions didn't
incur problems; the upper byte of the magic number happened to be
equal to the lower byte.  But, semantically it's wrong to depend on
this.

This won't change anything else nor suffer any compatibility issues.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/super.c