commit | 2f0a617448945a2c63d68983212302e9f2f8ae2f | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Dec 18 01:34:39 2018 +0000 |
committer | Steve French <stfrench@microsoft.com> | Fri Dec 28 10:13:11 2018 -0600 |
tree | fdcc3321a6fc1abd1cdbe38896a51645255bd412 | |
parent | 93d5cb517db39e8af8d1292f9e785e4983b7f708 [diff] |
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>