diff options
author | 2017-06-09 11:56:06 +0200 | |
---|---|---|
committer | 2017-08-17 22:00:04 +0200 | |
commit | 15512377bd971ecc86f2eab40b841b265b5043de (patch) | |
tree | e11553b59233f1e4b836061ec2a39a3610cb1d61 /net/lapb/lapb_timer.c | |
parent | quota: Propagate ->quota_read errors from v2_read_file_info() (diff) | |
download | linux-dev-15512377bd971ecc86f2eab40b841b265b5043de.tar.xz linux-dev-15512377bd971ecc86f2eab40b841b265b5043de.zip |
quota: Fix possible corruption of dqi_flags
dqi_flags modifications are protected by dq_data_lock. However the
modifications in vfs_load_quota_inode() and in mark_info_dirty() were
not which could lead to corruption of dqi_flags. Since modifications to
dqi_flags are rare, this is hard to observe in practice but in theory it
could happen. Fix the problem by always using dq_data_lock for
protection.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions