> > > > It is not possible to merge the functionality of may_umount into this as, > > it stands, as autofs v3 requires a slightly different semantic. That is if > > there are submounts that are not busy then it should return -EBUSY but > > may_umount_tree would return not busy.> > What about adding a paramter 'ignore_busy_submounts' and use most of the> function in common for both autofs3 and autofs4?

Thought of that as I was writing the response.I'll merge the two functions then and produce an updated patch.