diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-10-20 08:28:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 19:26:38 +0200 |
commit | b6dff26a08189932eeb0fa4261e09e733b0fc540 (patch) | |
tree | 30f13a24dd60f6e94f9152b12e0931a1ceb16d62 /fs/dcache.c | |
parent | [PATCH] NFSv4: Fix thinko in fs/nfs/super.c (diff) | |
download | linux-b6dff26a08189932eeb0fa4261e09e733b0fc540.tar.xz linux-b6dff26a08189932eeb0fa4261e09e733b0fc540.zip |
[PATCH] NFS: Fix oops in nfs_cancel_commit_list
Fix two bugs:
- nfs_inode_remove_request will call nfs_clear_request, so we cannot
reference req->wb_page after it. Move the call to dec_zone_page_state so
that it occurs while req->wb_page is still valid.
- Calling nfs_clear_page_writeback is unnecessary since the radix tree
tags will have been cleared by the call to nfs_inode_remove_request.
Replace with a simple call to nfs_unlock_request.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions