diff options
author | Yan <yanzheng@21cn.com> | 2008-02-04 08:57:25 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | c2e639f02cff721172569add21ba5d058fd1a81c (patch) | |
tree | feae72258a01f5360b0279c03b3dd1185cd662ac /fs/btrfs/inode.c | |
parent | 80b6794d1153ed91a040d873396efb9bd60969fd (diff) | |
download | lwn-c2e639f02cff721172569add21ba5d058fd1a81c.tar.gz lwn-c2e639f02cff721172569add21ba5d058fd1a81c.zip |
Btrfs: Fix typo in extent_io.c
---
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index f13b1dbc0619..44fc94fee2c4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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 { |