Loading fs/ceph/file.c +4 −4 Original line number Diff line number Diff line Loading @@ -350,10 +350,10 @@ static int copy_user_to_page_vector(struct page **pages, return -EFAULT; data += l - bad; left -= l - bad; if (po) { po += l - bad; if (po == PAGE_CACHE_SIZE) if (po == PAGE_CACHE_SIZE) { po = 0; i++; } } return len; Loading Loading
fs/ceph/file.c +4 −4 Original line number Diff line number Diff line Loading @@ -350,10 +350,10 @@ static int copy_user_to_page_vector(struct page **pages, return -EFAULT; data += l - bad; left -= l - bad; if (po) { po += l - bad; if (po == PAGE_CACHE_SIZE) if (po == PAGE_CACHE_SIZE) { po = 0; i++; } } return len; Loading