From: Trond Myklebust Date: Tue, 19 Jun 2012 17:39:14 +0000 (-0400) Subject: NFS: Fix a refcounting issue in O_DIRECT X-Git-Tag: v3.5-rc4~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a695da26367f53a368c90435e0b883c12f02791;p=pandora-kernel.git NFS: Fix a refcounting issue in O_DIRECT In nfs_direct_write_reschedule(), the requests from nfs_scan_commit_list have a refcount of 2, whereas the operations in nfs_direct_write_completion_ops expect them to have a refcount of 1. This patch adds a call to release the extra references. Signed-off-by: Trond Myklebust Cc: Fred Isaman --- Reading git-diff-tree failed