diff options
author | tjr <tjr@FreeBSD.org> | 2002-12-13 23:44:00 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-12-13 23:44:00 +0000 |
commit | ade731b9ae7a14138f3a30076e3b6fa818158124 (patch) | |
tree | 1a77f7c23d2fdcb275bbf718a62e17855b8f3b9e /sys/fs/smbfs/smbfs.h | |
parent | c0586fbb4fe74b933efc1631a397e510eb5e2319 (diff) | |
download | FreeBSD-src-ade731b9ae7a14138f3a30076e3b6fa818158124.zip FreeBSD-src-ade731b9ae7a14138f3a30076e3b6fa818158124.tar.gz |
Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy. This is
needed because smbfs vnodes reference their parent directory but may
appear after their parent in the mount's vnode list; one pass over the
list is not sufficient in this case.
This stops attempts to unmount idle smbfs mounts failing with EBUSY.
Diffstat (limited to 'sys/fs/smbfs/smbfs.h')
-rw-r--r-- | sys/fs/smbfs/smbfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/smbfs/smbfs.h b/sys/fs/smbfs/smbfs.h index b6f97be..5048791 100644 --- a/sys/fs/smbfs/smbfs.h +++ b/sys/fs/smbfs/smbfs.h @@ -89,6 +89,7 @@ struct smbmount { struct lock sm_hashlock; LIST_HEAD(smbnode_hashhead, smbnode) *sm_hash; u_long sm_hashlen; + int sm_didrele; }; #define VFSTOSMBFS(mp) ((struct smbmount *)((mp)->mnt_data)) |