Jun Piao 93f5920d86 ocfs2: return -EROFS when filesystem becomes read-only
We should return -EROFS rather than other errno if filesystem becomes
read-only.

[akpm@linux-foundation.org: coding-style fixes]
Link: http://lkml.kernel.org/r/5B191B26.9010501@huawei.com
Signed-off-by: Jun Piao <piaojun@huawei.com>
Reviewed-by: Yiwen Jiang <jiangyiwen@huawei.com>
Acked-by: Joseph Qi <jiangqi903@gmail.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <ge.changwei@h3c.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-17 16:20:27 -07:00
..
2017-09-06 17:27:24 -07:00
2018-04-05 21:36:21 -07:00
2018-04-05 21:36:21 -07:00
2018-01-31 17:18:35 -08:00
2018-01-31 17:18:35 -08:00
2018-04-05 21:36:21 -07:00
2018-06-07 17:34:33 -07:00
2018-06-12 16:19:22 -07:00
2015-12-29 17:45:49 -08:00
2017-09-06 17:27:24 -07:00
2018-06-12 16:19:22 -07:00
2016-05-12 15:52:50 -07:00