]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] NFS: Fix error handling in nfs_direct_write_result()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 20 Oct 2006 06:28:38 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:38 +0000 (10:26 -0700)
commit76e59f40a2936a323a7fd443496580628c9cc309
tree8243651c72751fc2204c8423f8a372c0dddba8a4
parenta0024620c6f825aea8b5e6e6fb0a9a989f986e88
[PATCH] NFS: Fix error handling in nfs_direct_write_result()

If the RPC call tanked, we should not be checking the return value
of data->res.verf->committed, since it is unlikely to even be
initialised.

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>
fs/nfs/direct.c