Searched hist:"5 a695da26367f53a368c90435e0b883c12f02791" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | direct.c | diff 5a695da26367f53a368c90435e0b883c12f02791 Tue Jun 19 12:39:14 CDT 2012 Trond Myklebust <Trond.Myklebust@netapp.com> 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 <Trond.Myklebust@netapp.com> Cc: Fred Isaman <iisaman@netapp.com>
|