diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-03 08:27:22 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-03 08:27:22 -0500 |
commit | 9f557cd8073104b39528794d44e129331ded649f (patch) | |
tree | 104a4146a767f3e42b474cdbbf056130b35d22b1 /fs/xattr.c | |
parent | a2c0b9e291208f65221a0ad8a0c80a377707d480 (diff) |
NFS: Fix an Oops when truncating a file
The VM/VFS does not allow mapping->a_ops->invalidatepage() to fail.
Unfortunately, nfs_wb_page_cancel() may fail if a fatal signal occurs.
Since the NFS code assumes that the page stays mapped for as long as the
writeback is active, we can end up Oopsing (among other things).
The only safe fix here is to convert nfs_wait_on_request(), so as to make
it uninterruptible (as is already the case with wait_on_page_writeback()).
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions