NFSv4: Clean up nfs_client_return_marked_delegations()
mainline inclusion from mainline-v5.7-rc1 commit af3b61bf category: bugfix bugzilla: 182252 CVE: NA ----------------------------------------------- Convert it to use the nfs_client_for_each_server() helper, and make it more efficient by skipping delegations for inodes we know are in the process of being freed. Also improve the efficiency of the cursor by skipping delegations that are being freed. Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
ChenXiaoSong <chenxiaosong2@huawei.com> Reviewed-by:
Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment