]> 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)
commit2ef1efc12e71cdc814c25063aa0e192dd540557b
treee67b584c5b55ba511890b3b593da30dde9034e9a
parent47599c6298943ede4662b5e31dfe375feac1b48a
fat: use prandom_u32() for i_generation

Similar to commit 19b746fd4351 ("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