diff options
author | Matthew Wilcox <[email protected]> | 2018-07-11 14:02:20 -0700 |
---|---|---|
committer | Dominique Martinet <[email protected]> | 2018-08-13 09:21:44 +0900 |
commit | 2d58f63f72f28ba297a9ae344a5b5f0cf75bcd94 (patch) | |
tree | 736a539f4849260bf74f6c1d83817851443de068 | |
parent | 7913690dcc5e18e235769fd87c34143072f5dbea (diff) |
9p: Fix comment on smp_wmb
The previous comment misled me into thinking the barrier wasn't needed
at all.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Cc: Ron Minnich <[email protected]>
Cc: Latchesar Ionkov <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
-rw-r--r-- | net/9p/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index dd461c718cf9..cae1fb43bd16 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -448,7 +448,7 @@ void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status) /* * This barrier is needed to make sure any change made to req before - * the other thread wakes up will indeed be seen by the waiting side. + * the status change is visible to another thread */ smp_wmb(); req->status = status; |