VFS: I_PIPE is redundant

Also, use S_IS* macros instead of manual comparison.
This commit is contained in:
Thomas Veerman
2012-04-16 09:04:32 +00:00
parent 755102d67f
commit 96bbc5da3e
9 changed files with 14 additions and 25 deletions

View File

@@ -89,7 +89,6 @@ struct vnode *get_free_vnode()
for (vp = &vnode[0]; vp < &vnode[NR_VNODES]; ++vp) {
if (vp->v_ref_count == 0 && !is_vnode_locked(vp)) {
vp->v_pipe = NO_PIPE;
vp->v_uid = -1;
vp->v_gid = -1;
vp->v_sdev = NO_DEV;