diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-04 04:31:00 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-01-16 00:43:49 +0300 |
commit | 2c4e0c528ec29afee16581873fb8ddcd7bea62a5 (patch) | |
tree | 539d8cef589da583d6c91a3820e9c5bca38f1855 /fs/f2fs/sysfs.c | |
parent | 762e4db5450a666bcf5144ffeb0b2e582ba67ff8 (diff) | |
download | linux-2c4e0c528ec29afee16581873fb8ddcd7bea62a5.tar.xz |
f2fs: declare nested quota_sem and remove unnecessary sems
1.
f2fs_quota_sync
-> down_read(&sbi->quota_sem)
-> dquot_writeback_dquots
-> f2fs_dquot_commit
-> down_read(&sbi->quota_sem)
2.
f2fs_quota_sync
-> down_read(&sbi->quota_sem)
-> f2fs_write_data_pages
-> f2fs_write_single_data_page
-> down_write(&F2FS_I(inode)->i_sem)
f2fs_mkdir
-> f2fs_do_add_link
-> down_write(&F2FS_I(inode)->i_sem)
-> f2fs_init_inode_metadata
-> f2fs_new_node_page
-> dquot_alloc_inode
-> f2fs_dquot_mark_dquot_dirty
-> down_read(&sbi->quota_sem)
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/sysfs.c')
0 files changed, 0 insertions, 0 deletions