Skip to content

Commit b661601

Browse files
J. Bruce Fieldschucklever
authored andcommitted
lockd: update nlm_lookup_file reexport comment
Update comment to reflect that we *do* allow reexport, whether it's a good idea or not.... Signed-off-by: J. Bruce Fields <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent a81041b commit b661601

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fs/lockd/svcsubs.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result,
111111
INIT_HLIST_NODE(&file->f_list);
112112
INIT_LIST_HEAD(&file->f_blocks);
113113

114-
/* Open the file. Note that this must not sleep for too long, else
115-
* we would lock up lockd:-) So no NFS re-exports, folks.
114+
/*
115+
* Open the file. Note that if we're reexporting, for example,
116+
* this could block the lockd thread for a while.
116117
*
117118
* We have to make sure we have the right credential to open
118119
* the file.

0 commit comments

Comments
 (0)