Update synchronous open zfs_close() comment
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 May 2011 15:16:10 +0000 (08:16 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 13 May 2011 15:20:06 +0000 (08:20 -0700)
commite814770f2ed14808c7ea8cf8cea034aacb20564a
tree7269f195b4939f9e70ad08dfc3bd984ccc32a541
parent6f582dc708e713f1d5e1c6871657ac726873b4bf
Update synchronous open zfs_close() comment

The comment in zfs_close() pertaining to decrementing the synchronous
open count needs to be updated for Linux.  The code was already
updated to be correct, but the comment was missed and is now misleading.
Under Linux the zfs_close() hook is only called once when the final
reference is dropped.  This differs from Solaris where zfs_close()
is called for each close.

Closes #237
module/zfs/zfs_vnops.c