nilfs2: use list_first_entry
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 5 May 2011 03:56:51 +0000 (12:56 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 10 May 2011 13:21:56 +0000 (22:21 +0900)
commit0cc1283881d3fcc9011c713e067795ccec322ae7
tree3d4c314f98b3fdcf2a7d2309e4dc468aa0d98ec4
parent293ce0ed8c2d22ff044e6e9fa7b1d4be425d189b
nilfs2: use list_first_entry

This uses list_first_entry macro instead of list_entry if it's used to
get the first entry.

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