diff options
author | Ming Lei <[email protected]> | 2022-07-22 18:38:17 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-07-22 09:22:53 -0600 |
commit | 6d8c5afc9ab14595707ff25d971dde45728eba3e (patch) | |
tree | a92d1aaca0444fde9446fb4b2316b2301c861726 /fs/btrfs/inode.c | |
parent | fa9482e0b23d9abe7034becff59daeaba09146ff (diff) |
ublk_drv: make sure that correct flags(features) returned to userspace
Userspace may support more features or new added flags, but the driver
side can be old, so make sure correct flags(features) returned to
userpsace, then userspace can work as expected.
Also mark the 2nd flags as reversed, just use the 1st one. When we run
out of flags, the reserved one can be handled at that time.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: ZiyangZhang <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions