Skip to content
Commit a8881f5a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: O_DIRECT async IO may lose context



The struct nfs_direct_req currently keeps a pointer to the file descriptor
without referencing it. This may cause problems if the parent process is
killed.

The nfs_open_context should normally have all the information that we're
currently using the filp for, and unlike fput(), is safe to release from
an rpciod process context.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent fad61490
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment