sysfs.c (3eb66e91a25497065c5322b1268cbc3953642227) | sysfs.c (643fa9612bf1a29153eee46fd398117632f93cbe) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext4/sysfs.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Theodore Ts'o (tytso@mit.edu) 8 * --- 210 unchanged lines hidden (view full) --- 219 ATTR_LIST(last_error_time), 220 NULL, 221}; 222 223/* Features this copy of ext4 supports */ 224EXT4_ATTR_FEATURE(lazy_itable_init); 225EXT4_ATTR_FEATURE(batched_discard); 226EXT4_ATTR_FEATURE(meta_bg_resize); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext4/sysfs.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Theodore Ts'o (tytso@mit.edu) 8 * --- 210 unchanged lines hidden (view full) --- 219 ATTR_LIST(last_error_time), 220 NULL, 221}; 222 223/* Features this copy of ext4 supports */ 224EXT4_ATTR_FEATURE(lazy_itable_init); 225EXT4_ATTR_FEATURE(batched_discard); 226EXT4_ATTR_FEATURE(meta_bg_resize); |
227#ifdef CONFIG_EXT4_FS_ENCRYPTION | 227#ifdef CONFIG_FS_ENCRYPTION |
228EXT4_ATTR_FEATURE(encryption); 229#endif 230EXT4_ATTR_FEATURE(metadata_csum_seed); 231 232static struct attribute *ext4_feat_attrs[] = { 233 ATTR_LIST(lazy_itable_init), 234 ATTR_LIST(batched_discard), 235 ATTR_LIST(meta_bg_resize), | 228EXT4_ATTR_FEATURE(encryption); 229#endif 230EXT4_ATTR_FEATURE(metadata_csum_seed); 231 232static struct attribute *ext4_feat_attrs[] = { 233 ATTR_LIST(lazy_itable_init), 234 ATTR_LIST(batched_discard), 235 ATTR_LIST(meta_bg_resize), |
236#ifdef CONFIG_EXT4_FS_ENCRYPTION | 236#ifdef CONFIG_FS_ENCRYPTION |
237 ATTR_LIST(encryption), 238#endif 239 ATTR_LIST(metadata_csum_seed), 240 NULL, 241}; 242 243static void *calc_ptr(struct ext4_attr *a, struct ext4_sb_info *sbi) 244{ --- 206 unchanged lines hidden --- | 237 ATTR_LIST(encryption), 238#endif 239 ATTR_LIST(metadata_csum_seed), 240 NULL, 241}; 242 243static void *calc_ptr(struct ext4_attr *a, struct ext4_sb_info *sbi) 244{ --- 206 unchanged lines hidden --- |