aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/asn1.c
diff options
context:
space:
mode:
authorPaulo Alcantara (SUSE)2019-12-04 17:38:03 -0300
committerSteve French2020-01-26 19:24:16 -0600
commit742d8de0186e9f8ec469f8171ea25781a17421bf (patch)
treeedc737c32111de73c7d1b75eb936bd97877a39b0 /fs/cifs/asn1.c
parent06d57378bcc9b2c33640945174842115593795d1 (diff)
cifs: Avoid doing network I/O while holding cache lock
When creating or updating a cache entry, we need to get an DFS referral (get_dfs_referral), so avoid holding any locks during such network operation. To prevent that, do the following: * change cache hashtable sync method from RCU sync to a read/write lock. * use GFP_ATOMIC in memory allocations. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/asn1.c')
0 files changed, 0 insertions, 0 deletions