diff options
author | Thomas Gleixner <[email protected]> | 2013-04-25 20:31:44 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2013-05-16 11:09:14 +0200 |
commit | ba919d1caa2e624eb8c6cae1f2ce0a253e697d45 (patch) | |
tree | 3f1ca3d84720e41093cd6723ff4a92122ecfec2e /fs/jbd/commit.c | |
parent | 5d33b883aed81c6fbcd09c6f7c3619eee850a7e2 (diff) |
clocksource: Let timekeeping_notify return success/error
timekeeping_notify() can fail due cs->enable() failure. Though the
caller does not notice and happily keeps the wrong clocksource as the
current one.
Let the caller know about failure, so the current clocksource will be
shown correctly in sysfs.
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Magnus Damm <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions