document that the pipe fo_stat routine doesn't need locks because it's
a read operation. Requested by: rwatson
This commit is contained in:
parent
56e9ce41a5
commit
52545a237b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98989
@ -1211,6 +1211,10 @@ pipe_poll(fp, events, cred, td)
|
||||
return (revents);
|
||||
}
|
||||
|
||||
/*
|
||||
* We shouldn't need locks here as we're doing a read and this should
|
||||
* be a natural race.
|
||||
*/
|
||||
static int
|
||||
pipe_stat(fp, ub, td)
|
||||
struct file *fp;
|
||||
|
Loading…
Reference in New Issue
Block a user