diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/bio.c | 4 | ||||
-rw-r--r-- | linux/fs.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/bio.c b/linux/bio.c index 29d096d4..93a791c4 100644 --- a/linux/bio.c +++ b/linux/bio.c @@ -168,10 +168,10 @@ struct bio *bio_split(struct bio *bio, int sectors, void bio_free_pages(struct bio *bio) { struct bvec_iter_all iter; - struct bio_vec bvec; + struct bio_vec *bvec; bio_for_each_segment_all(bvec, bio, iter) - __free_page(bvec.bv_page); + __free_page(bvec->bv_page); } void bio_advance(struct bio *bio, unsigned bytes) @@ -3,12 +3,12 @@ #include <linux/posix_acl_xattr.h> #include <linux/xattr.h> -const struct xattr_handler posix_acl_access_xattr_handler = { +const struct xattr_handler nop_posix_acl_access = { .name = XATTR_NAME_POSIX_ACL_ACCESS, .flags = ACL_TYPE_ACCESS, }; -const struct xattr_handler posix_acl_default_xattr_handler = { +const struct xattr_handler nop_posix_acl_default = { .name = XATTR_NAME_POSIX_ACL_DEFAULT, .flags = ACL_TYPE_DEFAULT, }; |