summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2012-04-27 15:37:25 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2012-06-07 12:43:47 +0200
commit6e927361bd403dbf5f6a2668a2a07df1f1b2daff (patch)
treed689a592de1dd09f9e5e9077274106c3b8d7e196 /fs/jbd2/commit.c
parent2c9c42fa98c283961b7f6b6542fb4bf0c0539e15 (diff)
x86, MCE, AMD: Make error_count read only
Until now, writing to error count caused the code to reset the thresholding bank to the current thresholding limit and start counting errors from the beginning. This is misleading and unclear, and can be accomplished by writing the old thresholding limit into ->threshold_limit. Make error_count read-only with the functionality to show the current error count. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions