diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-18 23:19:39 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-18 23:19:39 -0700 |
commit | 7f709a48fa798cfa0f2f777c8752e12995054f78 (patch) | |
tree | fde5f4b4918205ba4c547ecaac95acbc8a37caa0 /fs/nfs/nfs4_fs.h | |
parent | cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 (diff) | |
download | blackbird-obmc-linux-7f709a48fa798cfa0f2f777c8752e12995054f78.tar.gz blackbird-obmc-linux-7f709a48fa798cfa0f2f777c8752e12995054f78.zip |
NFSv4: Fix an oopsable condition in nfs_free_seqid
Storing a pointer to the struct rpc_task in the nfs_seqid is broken
since the nfs_seqid may be freed well after the task has been destroyed.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 8a3788199052..45bff1d1a513 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -112,7 +112,6 @@ struct nfs_seqid_counter { struct nfs_seqid { struct list_head list; struct nfs_seqid_counter *sequence; - struct rpc_task *task; }; static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) |