]> bbs.cooldavid.org Git - net-next-2.6.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)
commit50a9b214bc6c052caa05a210ebfc1bdf0d7085b2
treec5ae2e6a99778f237bdc88eb7157f7c4a82a2e54
parenta1ed835e1ab5795f91b198d08c43e2f56848dcf3
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