]> git.baikalelectronics.ru Git - kernel.git/commit
nilfs2: fix missing initialization of i_dir_start_lookup member
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 28 Sep 2009 04:02:46 +0000 (13:02 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 29 Sep 2009 11:32:13 +0000 (20:32 +0900)
commit712feb19a3c05e0503f45d8b79ca0103af9accbc
treeb00abe8ad3687faeacf9b543492f0b91c7abc600
parentf4244f0a17459d83c608d15d4e802d7511d12dfd
nilfs2: fix missing initialization of i_dir_start_lookup member

The i_dir_start_lookup field in nilfs_inode_info objects should be
cleared when the objects are allocated, but the the initialization was
missing in case of reading from disk.  This adds the initialization.

Since the variable just gives a start page on directory lookups, the
bug was nonfatal until now.

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