lkml.org 
[lkml]   [2019]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 01/16] staging: exfat: use prandom_u32() for i_generation
    Date
    On Fri, 08 Nov 2019 22:32:39 +0100, Arnd Bergmann said:
    > Similar to commit 46c9a946d766 ("shmem: use monotonic time for i_generation")
    > we should not use the deprecated get_seconds() interface for i_generation.
    >
    > prandom_u32() is the replacement used in other file systems.
    >
    > Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    exfat does some weird stuff with i_generation. but (a) it doesn't require
    monotonic increasing values and (b) this change is orthogonal to the weirdness
    and won't break anything.

    For the exfat part:

    Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2019-11-08 22:54    [W:4.101 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site