diff options
author | Ryusuke Konishi <konishi.ryusuke@gmail.com> | 2024-08-27 02:41:12 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:43:43 -0700 |
commit | 9860f434056e6358ac63e7068254aeaf339cf71e (patch) | |
tree | e0682e02f3cccddb4ae77e886499a029f854d5d3 /drivers/crypto | |
parent | d7cee0b342cd90abe5d09976a69d1a22ad0c3441 (diff) |
nilfs2: eliminate the shared counter and spinlock for i_generation
Use get_random_u32() as the source for inode->i_generation for new inodes,
and eliminate the original source, the shared counter ns_next_generation
along with its exclusive access spinlock ns_next_gen_lock.
Link: https://lkml.kernel.org/r/20240826174116.5008-5-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Huang Xiaojia <huangxiaojia2@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions