Date:        Sat, 9 Dec 2000 00:45:51 -0800 (PST)
   From: Linus Torvalds <[EMAIL PROTECTED]>

    out:
   -    if (nr) {
   -            ll_rw_block(WRITE, nr, arr);
   -    } else {
   -            UnlockPage(page);
   -    }
   +    UnlockPage(page);
           ClearPageUptodate(page);
           return err;
    }
   @@ -1669,7 +1665,6 @@

It would seem that you would want to unlock the page _after_ clearing
the uptodate bit to make sure people sleeping on the page do not see
it set by accident.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to