smbfs_vnops.c (104a9b7e3edbd88cdda0698c5c77a2ad6dafcc16) smbfs_vnops.c (cefb5754dda2cc46efd2d00ec3373b7eca7a0c76)
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 872 unchanged lines hidden (view full) ---

881 struct buf *a_bp
882 } */ *ap;
883{
884 struct buf *bp=ap->a_bp;
885 struct ucred *cr;
886 struct thread *td;
887 int error = 0;
888
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 872 unchanged lines hidden (view full) ---

881 struct buf *a_bp
882 } */ *ap;
883{
884 struct buf *bp=ap->a_bp;
885 struct ucred *cr;
886 struct thread *td;
887 int error = 0;
888
889 KASSERT(ap->a_vp == ap->a_bp->b_vp, ("%s(%p != %p)",
890 __func__, ap->a_vp, ap->a_bp->b_vp));
889 SMBVDEBUG("\n");
890 if (bp->b_flags & B_PHYS)
891 panic("smbfs physio");
892 if (bp->b_flags & B_ASYNC)
893 td = (struct thread *)0;
894 else
895 td = curthread; /* XXX */
896 if (bp->b_iocmd == BIO_READ)

--- 444 unchanged lines hidden ---
891 SMBVDEBUG("\n");
892 if (bp->b_flags & B_PHYS)
893 panic("smbfs physio");
894 if (bp->b_flags & B_ASYNC)
895 td = (struct thread *)0;
896 else
897 td = curthread; /* XXX */
898 if (bp->b_iocmd == BIO_READ)

--- 444 unchanged lines hidden ---