]> err.no Git - linux-2.6/commit
ocfs2: take data locks around extend
authorMark Fasheh <mark.fasheh@oracle.com>
Sat, 6 May 2006 02:04:03 +0000 (19:04 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 17 May 2006 21:38:47 +0000 (14:38 -0700)
commit53013cba4118a5cfe8f7c7ea5e5bc1c48b160f76
tree5170ed12fbe07b5e8557e61952aa27c25034bd7a
parent0c056c50a6218e0e577817c16ba8851af593d742
ocfs2: take data locks around extend

We need to take a data lock around extends to protect the pages that
ocfs2_zero_extend is going to be pulling into the page cache. Otherwise an
extend on one node might populate the page cache with data pages that have
no lock coverage.

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