aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-19 02:19:39 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-19 02:19:39 -0400
commit7f709a48fa798cfa0f2f777c8752e12995054f78 (patch)
treefde5f4b4918205ba4c547ecaac95acbc8a37caa0 /fs/nfs/nfs4_fs.h
parentcb1f7be73b6f708d4f4ce225a3bbc02908b729e4 (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.h1
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 {
112struct nfs_seqid { 112struct 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
118static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) 117static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status)