]> bbs.cooldavid.org Git - net-next-2.6.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)
commit34cb9b5c973ac06449b96884be932da9a9b99819
tree5009abb0edc749f78d60f7f1e8c098b1ab5fb509
parent4e819509cba664e7cbfba5c4d1517df4dfda86f5
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