Skip to content

Commit

Permalink
Add comment that nfs_rewinddir will never block.
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
  • Loading branch information
sahlberg committed Jun 22, 2016
1 parent 4388570 commit d9e75d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/nfsc/libnfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,8 @@ EXTERN struct nfsdirent *nfs_readdir(struct nfs_context *nfs, struct nfsdir *nfs
* REWINDDIR()
*/
/*
* nfs_rewinddir() cancel all previous nfs_readdir() side effects
* nfs_rewinddir() cancel all previous nfs_readdir() side effects.
* This function will never block so there is no need for an async version.
*/
EXTERN void nfs_rewinddir(struct nfs_context *nfs, struct nfsdir *nfsdir);

Expand Down

0 comments on commit d9e75d5

Please sign in to comment.