]> err.no Git - linux-2.6/commit
[PATCH] invalidate_inode_pages2_range() debug
authorAndrew Morton <akpm@osdl.org>
Wed, 11 Oct 2006 08:21:53 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:22 +0000 (11:14 -0700)
commit8258d4a574d3a8c01f0ef68aa26b969398a0e140
treeb3b3e062f340f0bbddd166358a7adebe6099574a
parentbeed33a816204cb402c69266475b6a60a2433ceb
[PATCH] invalidate_inode_pages2_range() debug

A failure in invalidate_inode_pages2_range() can result in unpleasant things
happening in NFS (at least).  Stick a WARN_ON_ONCE() in there so we can find
out if it happens, and maybe why.

(akpm: might be a -mm-only patch, we'll see..)

Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Steve Dickson <SteveD@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/truncate.c