X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mm%2Fcleancache.c;h=db7eee9c08863cae43a79707afb04ce0b649d5b4;hb=4d5308e7852741318e4d40fb8d43d9311b3984ae;hp=2397f7c36cc723abacd3e6e1d28a54f0850c3d88;hpb=c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2;p=linux.git diff --git a/mm/cleancache.c b/mm/cleancache.c index 2397f7c36cc7..db7eee9c0886 100644 --- a/mm/cleancache.c +++ b/mm/cleancache.c @@ -304,8 +304,7 @@ static int __init init_cleancache(void) { #ifdef CONFIG_DEBUG_FS struct dentry *root = debugfs_create_dir("cleancache", NULL); - if (root == NULL) - return -ENXIO; + debugfs_create_u64("succ_gets", 0444, root, &cleancache_succ_gets); debugfs_create_u64("failed_gets", 0444, root, &cleancache_failed_gets); debugfs_create_u64("puts", 0444, root, &cleancache_puts);