diff options
author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:50 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:04 -0600 |
commit | 658afed19ceed54a52b9e9e69c0791c8868ff55d (patch) | |
tree | 9cc7a0c3a565bc8629cfb41e412fbb863fed8e58 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 7d9d7d59d44b7e9236d168472aa222b6543fae25 (diff) |
mtd: block: use a simple bool to track open for write
Instead of propagating the fmode_t, just use a bool to track if a mtd
block device was opened for writing.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Acked-by: Richard Weinberger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions