ocfs2: harden buffer check during mapping of page blocks
authorMark Fasheh <mark.fasheh@oracle.com>
Mon, 18 Jun 2007 18:12:36 +0000 (11:12 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 11 Jul 2007 00:31:52 +0000 (17:31 -0700)
commitbce997682fe3121516f5a20cf7bad2e6029ba018
tree1f54d1c289b7fac2ec036f6923a27e00a6d777ae
parent7307de80510a70e5e5aa98de1e80ccbb7d90a3a8
ocfs2: harden buffer check during mapping of page blocks

We don't want to submit buffer_new blocks for read i/o. This actually won't
happen right now because those requests during an allocating write are all nicely
aligned. It's probably a good idea to provide an explicit check though.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/aops.c