aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-04-12 10:05:30 +0200
committerSong Liu <[email protected]>2021-04-15 11:06:32 -0700
commit0d809b3837a0bede8f58a67e303e339585777bf4 (patch)
treed5b2a07dfb1302dde7fe28666d02f87295986eb2 /include/linux/overflow.h
parentd144fe6ff176d79efd411e520103a99e11874c36 (diff)
md: do not return existing mddevs from mddev_find_or_alloc
Instead of returning an existing mddev, just for it to be discarded later directly return -EEXIST. Rename the function to mddev_alloc now that it doesn't find an existing mddev. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions