exofs: Optimize read_4_write
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 22 Nov 2010 16:02:45 +0000 (18:02 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Tue, 15 Mar 2011 13:02:49 +0000 (15:02 +0200)
commita8f1418f9e9bd4c487a7b703ff26c5dd5ceb2bf3
tree9d72e1be99cf2eb4c8a35cfa8ac3df69dfbca01a
parent0a935519cca83f26dc15e7577fa6c2b39606a4ac
exofs: Optimize read_4_write

Don't attempt a read passed i_size, just zero the page and be
done with it.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c