aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota/quota_v2.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-02-22 21:07:17 +0100
committerJan Kara <jack@suse.cz>2010-03-05 00:20:27 +0100
commitab94c39b6fa076d4f6d2903dcc54cda35d938776 (patch)
treed90042ad0c903e6f9034017906dfddd4dca49d62 /fs/quota/quota_v2.c
parent8ddd69d6df4758bf0cab981481af24cc84419567 (diff)
downloadkernel_samsung_crespo-ab94c39b6fa076d4f6d2903dcc54cda35d938776.zip
kernel_samsung_crespo-ab94c39b6fa076d4f6d2903dcc54cda35d938776.tar.gz
kernel_samsung_crespo-ab94c39b6fa076d4f6d2903dcc54cda35d938776.tar.bz2
quota: Properly invalidate caches even for filesystems with blocksize < pagesize
Sometimes invalidate_bdev() can fail to invalidate a part of block device cache because of dirty data. If the filesystem has blocksize smaller than page size, this can happen even for pages containing quota files and thus kernel would operate on stale data. Fix the issue by syncing the filesystem before invalidating the cache. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/quota_v2.c')
0 files changed, 0 insertions, 0 deletions