mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
bitwise-or-20051005
bitwise and, not logical for p->flags in vnode_stop reported by Jose Nazario
This commit is contained in:
parent
38d464e579
commit
591460982c
@ -122,7 +122,7 @@ vnode_stop(afs_vnode * v, XFILE * X, void *refcon)
|
||||
int r;
|
||||
|
||||
/* If the file is seekable, try to position so we can pick up later... */
|
||||
if (phi->p->flags && DSFLAG_SEEK)
|
||||
if (phi->p->flags & DSFLAG_SEEK)
|
||||
if (r = xfseek(X, &v->offset))
|
||||
return r;
|
||||
return DSERR_DONE;
|
||||
|
Loading…
Reference in New Issue
Block a user