diff options
author | J. Bruce Fields <bfields@redhat.com> | 2021-05-25 14:53:44 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2021-07-06 20:14:41 -0400 |
commit | 934bd07fae7e55232845f909f78873ab8678ca74 (patch) | |
tree | 68b559884a88cd5a69be8bb4886ee3fb160a334b /.clang-format | |
parent | f4e44b393389c77958f7c58bf4415032b4cda15b (diff) | |
download | linux-934bd07fae7e55232845f909f78873ab8678ca74.tar.gz |
nfsd: move fsnotify on client creation outside spinlock
This was causing a "sleeping function called from invalid context"
warning.
I don't think we need the set_and_test_bit() here; clients move from
unconfirmed to confirmed only once, under the client_lock.
The (conf == unconf) is a way to check whether we're in that confirming
case, hopefully that's not too obscure.
Fixes: 472d155a0631 "nfsd: report client confirmation status in "info" file"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions