lkml.org 
[lkml]   [1996]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: VFS Problem: close returns void

    On 5 Dec 1996, Derek Atkins wrote:
    [...]
    > However, in my mind, the best solution would be to
    > change the VFS close() [oops -- release()] method to return an int
    > instead of returning void. Then the filesystem would have a way to
    > return errors.
    >
    > Luckily, this is only an in-kernel issue, the libc interface will
    > DTRT. Unfortunately, it would require changing all calls to the
    > release() inode operations everywhere, which is in a lot of places (I
    > haven't done a thorough check). It would also break filesystem
    > modules. However, I'm willing to live with that (and I maintain one
    > myself, AFS), since it will fix these problems in the long run.
    >
    > I'm willing to create patches and supply them to Linus, if people
    > (Linus?) think(s) it's a good idea.

    Since there's another AFS-like filesystem shortly to be available for
    Linux, I think this change would be much appreciated.

    Michael



    \
     
     \ /
      Last update: 2005-03-22 13:38    [W:0.020 / U:0.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site