Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178169930
D62250.1796176464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D62250.1796176464.diff
View Options
diff --git a/sys/fs/nfsclient/nfs_clvnops.c.strat b/sys/fs/nfsclient/nfs_clvnops.c
--- a/sys/fs/nfsclient/nfs_clvnops.c.strat
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -134,7 +134,7 @@
static vop_rmdir_t nfs_rmdir;
static vop_symlink_t nfs_symlink;
static vop_readdir_t nfs_readdir;
-static vop_strategy_t nfs_strategy;
+static vop_strategy_unlocked_t nfs_strategy_unlocked;
static int nfs_lookitup(struct vnode *, char *, int,
struct ucred *, struct thread *, struct nfsnode **);
static int nfs_sillyrename(struct vnode *, struct vnode *,
@@ -189,7 +189,7 @@
.vop_rename = nfs_rename,
.vop_rmdir = nfs_rmdir,
.vop_setattr = nfs_setattr,
- .vop_strategy = nfs_strategy,
+ .vop_strategy_unlocked = nfs_strategy_unlocked,
.vop_symlink = nfs_symlink,
.vop_write = ncl_write,
.vop_getacl = nfs_getacl,
@@ -3029,7 +3029,7 @@
* request.
*/
static int
-nfs_strategy(struct vop_strategy_args *ap)
+nfs_strategy_unlocked(struct vop_strategy_unlocked_args *ap)
{
struct buf *bp;
struct vnode *vp;
@@ -3039,7 +3039,8 @@
vp = ap->a_vp;
KASSERT(bp->b_vp == vp, ("missing b_getvp"));
KASSERT(!(bp->b_flags & B_DONE),
- ("nfs_strategy: buffer %p unexpectedly marked B_DONE", bp));
+ ("nfs_strategy_unlocked: buffer %p unexpectedly marked B_DONE",
+ bp));
if (vp->v_type == VREG && bp->b_blkno == bp->b_lblkno)
bp->b_blkno = bp->b_lblkno * (vp->v_bufobj.bo_bsize /
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 1:54 AM (23 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42135449
Default Alt Text
D62250.1796176464.diff (1 KB)
Attached To
Mode
D62250: nfs_clvnops.c: Change nfs_strategy() to be a VOP_STRATEGY_UNLOCKED()
Attached
Detach File
Event Timeline