debugfs: only accept read attributes for blobs
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 4 May 2021 13:13:49 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 11:36:18 +0000 (13:36 +0200)
commitd616f56d34e2a30a4c9d6574c70b15a6082c0edc
tree3bb5e72dccee0256cdd2c755253475ed1feea936
parent0733d83905326baef3c25d8bd9a96fdc9eb71b86
debugfs: only accept read attributes for blobs

Blobs can only be read. So, keep only 'read' file attributes because the
others will not work and only confuse users.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20210504131350.46586-1-wsa+renesas@sang-engineering.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c