summaryrefslogtreecommitdiff
path: root/security/inode.c
diff options
context:
space:
mode:
authorFan Wu <wufan@linux.microsoft.com>2024-01-31 01:37:00 +0300
committerMike Snitzer <snitzer@kernel.org>2024-02-20 22:22:55 +0300
commit9356fcfe0ac4a8545f9fc32f2e404524e1115ee6 (patch)
tree4aeb2a2d36580733b9999c7854e32f3f2f6bb733 /security/inode.c
parent5d8d40815314684af2593c075e6eee1afb42bb92 (diff)
downloadlinux-9356fcfe0ac4a8545f9fc32f2e404524e1115ee6.tar.xz
dm verity: set DM_TARGET_SINGLETON feature flag
The device-mapper has a flag to mark targets as singleton, which is a required flag for immutable targets. Without this flag, multiple dm-verity targets can be added to a mapped device, which has no practical use cases and will let dm_table_get_immutable_target return NULL. This patch adds the missing flag, restricting only one dm-verity target per mapped device. Signed-off-by: Fan Wu <wufan@linux.microsoft.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions