aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/cache-debugfs.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-03-03 23:38:32 +0000
committerLinus Torvalds <[email protected]>2014-03-04 15:55:48 +0000
commit15c34a760630ca2c803848fba90ca0646a9907dd (patch)
treea8045655ec6307ff8fc9794bd440368df51dc7f3 /arch/sh/mm/cache-debugfs.c
parentdrivers/rtc/rtc-s3c.c: fix incorrect way of save/restore of S3C2410_TICNT for... (diff)
downloadkernel-15c34a760630ca2c803848fba90ca0646a9907dd.tar.gz
kernel-15c34a760630ca2c803848fba90ca0646a9907dd.zip
ocfs2: fix quota file corruption
Global quota files are accessed from different nodes. Thus we cannot cache offset of quota structure in the quota file after we drop our node reference count to it because after that moment quota structure may be freed and reallocated elsewhere by a different node resulting in corruption of quota file. Fix the problem by clearing dq_off when we are releasing dquot structure. We also remove the DB_READ_B handling because it is useless - DQ_ACTIVE_B is set iff DQ_READ_B is set. Signed-off-by: Jan Kara <[email protected]> Cc: Goldwyn Rodrigues <[email protected]> Cc: Joel Becker <[email protected]> Reviewed-by: Mark Fasheh <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/sh/mm/cache-debugfs.c')
0 files changed, 0 insertions, 0 deletions