nilfs2: simplify nilfs_mdt_freeze_buffer
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 26 Dec 2010 15:03:02 +0000 (00:03 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 10 Jan 2011 05:05:46 +0000 (14:05 +0900)
commita7a8447edef2cfa9b28cc3892993d9fafb362671
tree85fc226757b9e2358e226f55271566c2d0c281e8
parent888da23c2f70ca2e9897b725322a6456285ee9c4
nilfs2: simplify nilfs_mdt_freeze_buffer

nilfs_page_get_nth_block() function used in nilfs_mdt_freeze_buffer()
always returns a valid buffer head, so its validity check can be
removed.

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