diff options
author | Jan Kara <jack@suse.cz> | 2024-01-22 13:31:21 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 19:21:11 +0100 |
commit | 6c5026c1ef5b57a8d1ddeb6f2bf0c1624d6a849f (patch) | |
tree | 22c41faebed7ced474c72b3a83ae6570ae142f21 /fs/dax.c | |
parent | ext2: Remove GFP_NOFS use in ext2_xattr_cache_insert() (diff) | |
download | linux-6c5026c1ef5b57a8d1ddeb6f2bf0c1624d6a849f.tar.xz linux-6c5026c1ef5b57a8d1ddeb6f2bf0c1624d6a849f.zip |
quota: Set nofs allocation context when acquiring dqio_sem
dqio_sem can be acquired during inode reclaim through dquot_drop() ->
dqput() -> dquot_release() -> write_file_info() context. In some cases
(most notably through dquot_get_next_id()) it can be acquired without
holding dquot->dq_lock (which already sets nofs allocation context). So
we need to set nofs allocation context when acquiring it as well.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions