summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2021-08-21 00:02:02 +0300
committerChuck Lever <chuck.lever@oracle.com>2021-08-23 19:56:17 +0300
commitb661601a9fdf1af8516e1100de8bba84bd41cca4 (patch)
tree140d206f9103bf77eb883ed0a7e85938c271a82a /fs
parenta81041b7d8f08c4e1014173c5483a0f18724a576 (diff)
downloadlinux-b661601a9fdf1af8516e1100de8bba84bd41cca4.tar.xz
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 <bfields@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/lockd/svcsubs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c
index e02951f8a28f..13e6ffc219ec 100644
--- a/fs/lockd/svcsubs.c
+++ b/fs/lockd/svcsubs.c
@@ -111,8 +111,9 @@ nlm_lookup_file(struct svc_rqst *rqstp, struct nlm_file **result,
INIT_HLIST_NODE(&file->f_list);
INIT_LIST_HEAD(&file->f_blocks);
- /* Open the file. Note that this must not sleep for too long, else
- * we would lock up lockd:-) So no NFS re-exports, folks.
+ /*
+ * Open the file. Note that if we're reexporting, for example,
+ * this could block the lockd thread for a while.
*
* We have to make sure we have the right credential to open
* the file.