From: Steven Whitehouse Date: Tue, 3 May 2011 10:49:19 +0000 (+0100) Subject: GFS2: Improve bug trap code in ->releasepage() X-Git-Tag: v3.0-rc1~384^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f065d36508f283ee6cbeb05829f032d0b782a16;p=pandora-kernel.git GFS2: Improve bug trap code in ->releasepage() If the buffer is dirty or pinned, then as well as printing a warning, we should also refuse to release the page in question. Currently this can occur if there is a race between mmap()ed writers and O_DIRECT on the same file. With the addition of ->launder_page() in the future, we should be able to close this gap. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed