]> git.baikalelectronics.ru Git - kernel.git/commit
fat: use prandom_u32() for i_generation
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Oct 2019 13:31:19 +0000 (15:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 18 Dec 2019 17:07:31 +0000 (18:07 +0100)
commitc1f7229f82943295930f91d9119b2b3489aa4ea7
treee67b584c5b55ba511890b3b593da30dde9034e9a
parent7855fcc07be326322b44982a21760fd9bd8e2b92
fat: use prandom_u32() for i_generation

Similar to commit 39cd9a6338af ("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>
fs/fat/inode.c