lkml.org 
[lkml]   [2005]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-04-25 23:53    [W:3.518 / U:0.444 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site