Re: possible bug in VFS ?

Alexander Viro (viro@math.psu.edu)
Fri, 12 Oct 2001 20:06:01 -0400 (EDT)


On Sat, 13 Oct 2001, Signal9 wrote:

> root = current->fs->rootmnt;
> list_for_each(ptr, &root->mnt_list) {
> mnt = list_entry(ptr, struct vfsmount, mnt_list);
> sb = mnt ? mnt->mnt_sb : NULL;
> if (NULL != sb && dev == sb->s_dev) <============
> mntget(mnt);
> }

What the hell is it trying to do?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/