]> git.baikalelectronics.ru Git - kernel.git/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)
commite05ee494ba7f4edd5b9484b26d4d51aeb8b1721b
tree5170ed12fbe07b5e8557e61952aa27c25034bd7a
parent94e661a718f4f02ab82e7107d90a939c45393b61
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