Btrfs: Fix typo in extent_io.c

---

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Yan
2008-02-04 08:57:25 -05:00
committed by Chris Mason
parent 80b6794d11
commit c2e639f02c
2 changed files with 3 additions and 4 deletions

View File

@@ -364,8 +364,7 @@ int btrfs_readpage_end_io_hook(struct page *page, u64 start, u64 end,
if (btrfs_test_opt(root, NODATASUM) ||
btrfs_test_flag(inode, NODATASUM))
return 0;
if (state->start == start) {
if (state && state->start == start) {
private = state->private;
ret = 0;
} else {