summaryrefslogtreecommitdiff
path: root/drivers/net/shaper.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2007-05-06 21:49:05 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 19:12:51 (GMT)
commit3d67f2d7c0fb28b0eb6a6aa100b190526a971ad9 (patch)
treeeea6afc9610ba15218c9f03aa6091ec687a39577 /drivers/net/shaper.c
parent6fe6900e1e5b6fa9e5c59aa5061f244fe3f467e2 (diff)
downloadlinux-fsl-qoriq-3d67f2d7c0fb28b0eb6a6aa100b190526a971ad9.tar.xz
fs: buffer don't PageUptodate without page locked
__block_write_full_page is calling SetPageUptodate without the page locked. This is unusual, but not incorrect, as PG_writeback is still set. However the next patch will require that SetPageUptodate always be called with the page locked. Simply don't bother setting the page uptodate in this case (it is unusual that the write path does such a thing anyway). Instead just leave it to the read side to bring the page uptodate when it notices that all buffers are uptodate. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/shaper.c')
0 files changed, 0 insertions, 0 deletions