> From: Jason Gunthorpe <jgg@xxxxxxxxxx> > Sent: Thursday, September 29, 2022 10:59 PM > > Kevin points out that the users is really just tracking if > group->opened_file is set, so we can simplify this code to a wait_queue > that looks for !opened_file under the group_rwsem. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>