Messages in this thread | | | Date | Mon, 25 Apr 2005 17:34:48 -0400 | From | Jeff Dike <> | Subject | Re: [patch 1/1] uml ubd: handle readonly status |
| |
On Mon, Apr 25, 2005 at 09:19:49PM +0200, blaisorblade@yahoo.it 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 - 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/
| |