vfs_default.c (7d536dc855c85c15bf45f033d108a61b1f3cecc3) | vfs_default.c (411455a8fbcfbb51e60fb5f5d4a02d6e76c0a88c) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed 6 * to Berkeley by John Heidemann of the UCLA Ficus project. 7 * 8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project --- 242 unchanged lines hidden (view full) --- 251 * and should not be cleared manually unless you just made the buffer 252 * invalid. BIO_ERROR should be cleared either way. 253 */ 254 255static int 256vop_nostrategy (struct vop_strategy_args *ap) 257{ 258 printf("No strategy for buffer at %p\n", ap->a_bp); | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed 6 * to Berkeley by John Heidemann of the UCLA Ficus project. 7 * 8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project --- 242 unchanged lines hidden (view full) --- 251 * and should not be cleared manually unless you just made the buffer 252 * invalid. BIO_ERROR should be cleared either way. 253 */ 254 255static int 256vop_nostrategy (struct vop_strategy_args *ap) 257{ 258 printf("No strategy for buffer at %p\n", ap->a_bp); |
259 vprint("vnode", ap->a_vp); | 259 vn_printf(ap->a_vp, "vnode "); |
260 ap->a_bp->b_ioflags |= BIO_ERROR; 261 ap->a_bp->b_error = EOPNOTSUPP; 262 bufdone(ap->a_bp); 263 return (EOPNOTSUPP); 264} 265 266static int 267get_next_dirent(struct vnode *vp, struct dirent **dpp, char *dirbuf, --- 449 unchanged lines hidden (view full) --- 717 continue; 718 if (error == 0 && --maxretry >= 0) 719 goto loop1; 720 error = EAGAIN; 721 } 722 } 723 BO_UNLOCK(bo); 724 if (error == EAGAIN) | 260 ap->a_bp->b_ioflags |= BIO_ERROR; 261 ap->a_bp->b_error = EOPNOTSUPP; 262 bufdone(ap->a_bp); 263 return (EOPNOTSUPP); 264} 265 266static int 267get_next_dirent(struct vnode *vp, struct dirent **dpp, char *dirbuf, --- 449 unchanged lines hidden (view full) --- 717 continue; 718 if (error == 0 && --maxretry >= 0) 719 goto loop1; 720 error = EAGAIN; 721 } 722 } 723 BO_UNLOCK(bo); 724 if (error == EAGAIN) |
725 vprint("fsync: giving up on dirty", vp); | 725 vn_printf(vp, "fsync: giving up on dirty "); |
726 727 return (error); 728} 729 730/* XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */ 731int 732vop_stdgetpages(ap) 733 struct vop_getpages_args /* { --- 571 unchanged lines hidden --- | 726 727 return (error); 728} 729 730/* XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */ 731int 732vop_stdgetpages(ap) 733 struct vop_getpages_args /* { --- 571 unchanged lines hidden --- |