diff options
author | YueHaibing | 2018-12-18 02:34:39 +0100 |
---|---|---|
committer | Steve French | 2018-12-28 17:13:11 +0100 |
commit | 2f0a617448945a2c63d68983212302e9f2f8ae2f (patch) | |
tree | fdcc3321a6fc1abd1cdbe38896a51645255bd412 /.mailmap | |
parent | cifs: Add support for failover in cifs_reconnect() (diff) | |
download | kernel-qcow2-linux-2f0a617448945a2c63d68983212302e9f2f8ae2f.tar.gz kernel-qcow2-linux-2f0a617448945a2c63d68983212302e9f2f8ae2f.tar.xz kernel-qcow2-linux-2f0a617448945a2c63d68983212302e9f2f8ae2f.zip |
cifs: Use GFP_ATOMIC when a lock is held in cifs_mount()
A spin lock is held before kstrndup, it may sleep with holding
the spinlock, so we should use GFP_ATOMIC instead.
Fixes: e58c31d5e387 ("cifs: Add support for failover in cifs_reconnect()")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions