Skip to content

Commit 2f86f4e

Browse files
author
RageLtMan
committed
Fix cstyle per behlendorf
1 parent 166c635 commit 2f86f4e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

module/os/linux/zfs/abd_os.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ abd_iter_map(struct abd_iter *aiter)
912912
paddr = ABD_LINEAR_BUF(aiter->iter_abd);
913913
} else {
914914
struct page *page;
915-
915+
916916
offset = aiter->iter_offset;
917917
aiter->iter_mapsize = MIN(aiter->iter_sg->length - offset,
918918
aiter->iter_abd->abd_size - aiter->iter_pos);
@@ -921,7 +921,8 @@ abd_iter_map(struct abd_iter *aiter)
921921
if (PageHighMem(page)) {
922922
page = nth_page(page, offset / PAGE_SIZE);
923923
offset &= ~PAGE_MASK;
924-
aiter->iter_mapsize = MIN(aiter->iter_mapsize, PAGE_SIZE - offset);
924+
aiter->iter_mapsize = MIN(aiter->iter_mapsize,
925+
PAGE_SIZE - offset);
925926
}
926927
paddr = zfs_kmap_local(page);
927928
}

module/os/linux/zfs/zfs_uio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ zfs_uiomove_bvec_impl(void *p, size_t n, zfs_uio_rw_t rw, zfs_uio_t *uio)
101101
while (n && uio->uio_resid) {
102102
void *paddr;
103103
size_t offset = bv->bv_offset + skip;
104-
cnt = MIN(PAGE_SIZE - (offset & ~PAGE_MASK), MIN(bv->bv_len - skip, n));
104+
cnt = MIN(PAGE_SIZE - (offset & ~PAGE_MASK),
105+
MIN(bv->bv_len - skip, n));
105106

106107
paddr = zfs_kmap_local(bv->bv_page + (offset >> PAGE_SHIFT));
107108
if (rw == UIO_READ) {

module/zfs/abd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ abd_raidz_gen_iterate(abd_t **cabds, abd_t *dabd, size_t off,
11251125
abd_advance_abd_iter(cabds[i], c_cabds[i],
11261126
&caiters[i], len);
11271127
}
1128-
1128+
11291129
csize -= len;
11301130
}
11311131
abd_exit_critical(flags);

0 commit comments

Comments
 (0)