aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorJoe Thornber <[email protected]>2015-01-26 11:38:21 +0000
committerMike Snitzer <[email protected]>2015-01-28 15:00:34 +0000
commit2a7eaea02b99b6e267b1e89c79acc6e9a51cee3b (patch)
treebb40f7c63e44044c52d540f73c65c8b16ca1726c /fs/ubifs/commit.c
parentdm cache: fix missing ERR_PTR returns and handling (diff)
downloadkernel-2a7eaea02b99b6e267b1e89c79acc6e9a51cee3b.tar.gz
kernel-2a7eaea02b99b6e267b1e89c79acc6e9a51cee3b.zip
dm thin: don't allow messages to be sent to a pool target in READ_ONLY or FAIL mode
You can't modify the metadata in these modes. It's better to fail these messages immediately than let the block-manager deny write locks on metadata blocks. Otherwise these failed metadata changes will trigger 'needs_check' to get set in the metadata superblock -- requiring repair using the thin_check utility. Signed-off-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions