https://github.com/torvalds/linux
Revision 5a695da26367f53a368c90435e0b883c12f02791 authored by Trond Myklebust on 19 June 2012, 17:39:14 UTC, committed by Trond Myklebust on 19 June 2012, 22:42:14 UTC
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>
1 parent 0a9c63f
History
Tip revision: 5a695da26367f53a368c90435e0b883c12f02791 authored by Trond Myklebust on 19 June 2012, 17:39:14 UTC
NFS: Fix a refcounting issue in O_DIRECT
Tip revision: 5a695da
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 208.2 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top