diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-19 19:39:14 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-20 00:42:14 +0200 |
commit | 5a695da26367f53a368c90435e0b883c12f02791 (patch) | |
tree | 0bd0e628544370e9a5edabcdf0d38859d1364d6e /fs/nfs/inode.c | |
parent | NFSv4.1: Fix a race in set_pnfs_layoutdriver (diff) | |
download | linux-5a695da26367f53a368c90435e0b883c12f02791.tar.xz linux-5a695da26367f53a368c90435e0b883c12f02791.zip |
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>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions