| .. | .. | 
|---|
 | 1 | +// SPDX-License-Identifier: GPL-2.0-or-later  | 
|---|
| 1 | 2 |  /* FS-Cache statistics viewing interface | 
|---|
| 2 | 3 |   * | 
|---|
| 3 | 4 |   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 
|---|
| 4 | 5 |   * Written by David Howells (dhowells@redhat.com) | 
|---|
| 5 |  | - *  | 
|---|
| 6 |  | - * This program is free software; you can redistribute it and/or  | 
|---|
| 7 |  | - * modify it under the terms of the GNU General Public License  | 
|---|
| 8 |  | - * as published by the Free Software Foundation; either version  | 
|---|
| 9 |  | - * 2 of the License, or (at your option) any later version.  | 
|---|
| 10 | 6 |   */ | 
|---|
| 11 | 7 |   | 
|---|
| 12 | 8 |  #define FSCACHE_DEBUG_LEVEL OPERATION | 
|---|
| .. | .. | 
|---|
| 39 | 35 |   | 
|---|
| 40 | 36 |  #ifdef CONFIG_FSCACHE_OBJECT_LIST | 
|---|
| 41 | 37 |  	if (!proc_create("fs/fscache/objects", S_IFREG | 0444, NULL, | 
|---|
| 42 |  | -			 &fscache_objlist_fops))  | 
|---|
 | 38 | +			 &fscache_objlist_proc_ops))  | 
|---|
| 43 | 39 |  		goto error_objects; | 
|---|
| 44 | 40 |  #endif | 
|---|
| 45 | 41 |   | 
|---|