Files
kernel_arpi/include/uapi/linux
Martijn Coenen d11bdba9da UPSTREAM: loop: Clean up LOOP_SET_STATUS lo_flags handling
LOOP_SET_STATUS(64) will actually allow some lo_flags to be modified; in
particular, LO_FLAGS_AUTOCLEAR can be set and cleared, whereas
LO_FLAGS_PARTSCAN can be set to request a partition scan. Make this
explicit by updating the UAPI to include the flags that can be
set/cleared using this ioctl.

The implementation can then blindly take over the passed in flags,
and use the previous flags for those flags that can't be set / cleared
using LOOP_SET_STATUS.

Signed-off-by: Martijn Coenen <maco@android.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
(cherry picked from commit faf1d25440)
Bug: 148607611
Change-Id: I614a6d583970b65fbcfb0df2e4bb2d4b8471acd3
2020-08-10 19:41:49 +02:00
..
2020-06-07 13:18:48 +02:00
2020-01-12 15:36:52 +01:00
2019-07-09 12:11:59 -07:00
2020-07-03 03:33:47 +00:00
2019-09-19 14:22:44 +02:00
2019-09-25 17:51:39 -07:00
2019-08-02 14:44:02 +10:00
2019-09-16 10:18:01 -04:00
2020-05-06 08:15:01 +02:00
2019-08-12 19:33:50 -07:00
2019-09-18 10:43:22 -06:00
2019-09-08 15:37:04 +02:00
2020-06-25 07:49:21 +02:00
2019-08-19 13:04:45 -07:00
2019-09-23 16:10:28 -05:00
2019-10-02 20:32:27 -06:00
2019-07-30 20:34:34 +02:00
2019-11-05 15:50:14 +01:00
2020-01-08 15:26:59 -08:00
2019-09-16 16:26:11 +02:00
2019-09-18 20:17:50 +02:00
2019-08-01 21:49:46 +02:00
2020-06-03 08:21:33 +02:00