forked from smaeul/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfs: Split some core bits out into their own file
Split some core bits out into their own file. More bits will be added to this file later. Signed-off-by: David Howells <[email protected]> cc: [email protected]
- Loading branch information
Showing
4 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
netfs-y := \ | ||
buffered_read.o \ | ||
main.o \ | ||
objects.o \ | ||
read_helper.o | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
/* Miscellaneous bits for the netfs support library. | ||
* | ||
* Copyright (C) 2022 Red Hat, Inc. All Rights Reserved. | ||
* Written by David Howells ([email protected]) | ||
*/ | ||
|
||
#include <linux/module.h> | ||
#include <linux/export.h> | ||
#include "internal.h" | ||
#define CREATE_TRACE_POINTS | ||
#include <trace/events/netfs.h> | ||
|
||
MODULE_DESCRIPTION("Network fs support"); | ||
MODULE_AUTHOR("Red Hat, Inc."); | ||
MODULE_LICENSE("GPL"); | ||
|
||
unsigned netfs_debug; | ||
module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO); | ||
MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters