diff options
| author | Miaohe Lin <linmiaohe@huawei.com> | 2022-03-22 14:40:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-22 15:57:02 -0700 |
| commit | 4bfa8ada803af1d073c76b43d079eee72a1d442a (patch) | |
| tree | 8e23b5ad7c6ceff17537208c97a5ef7c1e9b8945 /include/linux | |
| parent | 56a8c8eb1eaf21261be8cdc4e3715239ac087342 (diff) | |
mm: shmem: use helper macro __ATTR_RW
Use helper macro __ATTR_RW to define shmem_enabled_attr to make code
more clear. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220312082252.55586-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
