Re: possible bug in VFS ?

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Oct 12 2001 - 19:06:01 EST


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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:47 EST