[lkml]   [2003]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Rootfs mounted from user space - problem with umount
    William Lee Irwin III wrote:

    >Looks like either namespace->sem or sb->s_umount; you should be able
    >to put some instrumentation code in down_write() and/or down_read() to
    >see who acquired it first by checking to see if the sem acquired belongs
    >to rootfs' sb or some namespace (doubtful you'll create many of them).

    Found it. It was a stupid mistake. I made the get_sb function return
    the same superblock when it was still get_sb_nodev. When I switched it
    to the proper get_sb_single I forgot to remove the code that returned
    the old sb so it wasn't calling get_sb_single to increase the sb's usage
    count. Doh!


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:59    [W:0.019 / U:3.276 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site