ubd: move setting the nonrot flag to ubd_add
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 07:24:13 +0000 (08:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Feb 2024 21:21:15 +0000 (14:21 -0700)
commitb8b364d2af7483ad82975cf35d5201efe1efa29f
tree7c717e6937e5db7c9ecd79169b82a4d7323837cb
parent0267e9cac6de0c25ec1b6e3fef4fd8a87a4774a2
ubd: move setting the nonrot flag to ubd_add

No reason to delay this until open time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20240222072417.3773131-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c