diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-19 02:19:39 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-19 02:19:39 -0400 |
commit | 7f709a48fa798cfa0f2f777c8752e12995054f78 (patch) | |
tree | fde5f4b4918205ba4c547ecaac95acbc8a37caa0 /fs/nfs/nfs4_fs.h | |
parent | cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 (diff) |
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 { | |||
112 | struct nfs_seqid { | 112 | struct nfs_seqid { |
113 | struct list_head list; | 113 | struct list_head list; |
114 | struct nfs_seqid_counter *sequence; | 114 | struct nfs_seqid_counter *sequence; |
115 | struct rpc_task *task; | ||
116 | }; | 115 | }; |
117 | 116 | ||
118 | static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) | 117 | static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) |