]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix btrfs page_mkwrite to return locked page
authorChris Mason <chris.mason@oracle.com>
Fri, 11 Sep 2009 16:33:12 +0000 (12:33 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Sep 2009 17:31:08 +0000 (13:31 -0400)
commit62d9392a887c536566ac5583b84e72939baa3a0e
treec5ae2e6a99778f237bdc88eb7157f7c4a82a2e54
parent6fe5deb7405e239e8bee3fc011f50a51efa48f73
Btrfs: fix btrfs page_mkwrite to return locked page

This closes a whole where the page may be written before
the page_mkwrite caller has a chance to dirty it

(thanks to Nick Piggin)

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c