Skip to content
Commit 7097c964 authored by David Howells's avatar David Howells
Browse files

cachefiles: Fix __cachefiles_prepare_write()



Fix __cachefiles_prepare_write() to correctly determine whether the
requested write will fit correctly with the DIO alignment.

Reported-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Tested-by: default avatarYiqun Leng <yqleng@linux.alibaba.com>
Tested-by: default avatarJia Zhu <zhujia.zj@bytedance.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
cc: linux-erofs@lists.ozlabs.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
parent 80105ed2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment