> 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/