Commit 7a64774
quota: use lockdep_assert_held_write in dquot_load_quota_sb
Use lockdep_assert_held_write to assert and self-document the locking
state in dquot_load_quota_sb instead of hand-crafting it with a trylock.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230802115439.2145212-2-hch@lst.de>1 parent 2363650 commit 7a64774
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2365 | 2365 | | |
2366 | 2366 | | |
2367 | 2367 | | |
| 2368 | + | |
| 2369 | + | |
2368 | 2370 | | |
2369 | 2371 | | |
2370 | | - | |
2371 | | - | |
2372 | | - | |
2373 | 2372 | | |
2374 | 2373 | | |
2375 | 2374 | | |
| |||
0 commit comments