lkml.org 
[lkml]   [2003]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] fs/locks.c fcntl_setlease did not check if a file was opened for writing before granting a read lease
    Nikita Danilov wrote:
    > > dentry->d_flags is a combination of the S_ flags, not O_ flags.
    > > E.g. S_SYNC, S_NOATIME etc.
    > >
    > > inode->i_flags is a combination of the DCACHE_ flags.
    > > E.g. DCACHE_AUTOFS_PENDING, DCACHE_REFERENCED tc.
    >
    > I think it is other way around. ->i_flags are combined from S_SYNC (see,
    > include/linux/fs.h:IS_IMMUTABLE(), for example), and ->d_flags are
    > combined from DCACHE_*, latter is explicitly stated in
    > include/linux/dcache.h

    Oh, yes of course :)

    -- Jamie
    -
    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-03-22 13:58    [W:0.019 / U:0.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site