Commit 0ae8bd3a authored by Trond Myklebust's avatar Trond Myklebust Committed by Yang Yingliang
Browse files

nfsd: Clone should commit src file metadata too



mainline inclusion
from mainline-5.6-rc1
commit 57f64034
category: bugfix
bugzilla: 30516
CVE: NA

-----------------------------------------------

vfs_clone_file_range() can modify the metadata on the source file too,
so we need to commit that to stable storage as well.

Reported-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Acked-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent bd5613f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment