On Mon, Apr 25, 2005 at 09:19:49PM +0200, [EMAIL PROTECTED] wrote:
> +     /* This should no more be needed. And it didn't work anyway to exclude
> +      * read-write remounting of filesystems.*/
> +     /*if((filp->f_mode & FMODE_WRITE) && !dev->openflags.w){
>               if(--dev->count == 0) ubd_close(dev);
>               err = -EROFS;
> -     }
> +     }*/

> +     /* This should be impossible now */

> +             /* This should be impossible now */

If code can't run any more because of now-impossible conditions, then just
delete it.

                                Jeff


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to