|
|
| version 1.317, 2007/03/03 02:57:44 | version 1.318, 2007/04/16 06:07:35 |
|---|---|
| Line 3884 xlog_recover( | Line 3884 xlog_recover( |
| * under the vfs layer, so we can get away with it unless | * under the vfs layer, so we can get away with it unless |
| * the device itself is read-only, in which case we fail. | * the device itself is read-only, in which case we fail. |
| */ | */ |
| if ((error = xfs_dev_is_read_only(log->l_mp, | if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { |
| "recovery required"))) { | |
| return error; | return error; |
| } | } |