aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2022-06-05 17:27:29 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-06-17 19:01:28 -0400
commit93a8c044b9a3711d594702daea9fbe2292c73a42 (patch)
tree468e75890b8e9cee87110bdb7d3d9704b8631de6
parenttracing: Simplify conditional compilation code in tracing_set_tracer() (diff)
downloadlinux-dev-93a8c044b9a3711d594702daea9fbe2292c73a42.tar.xz
linux-dev-93a8c044b9a3711d594702daea9fbe2292c73a42.zip
tracefs: Fix syntax errors in comments
Delete the redundant word 'to'. Link: https://lkml.kernel.org/r/20220605092729.13010-1-wangxiang@cdjrlc.com Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r--fs/tracefs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index de7252715b12..81d26abf486f 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -553,7 +553,7 @@ struct dentry *tracefs_create_dir(const char *name, struct dentry *parent)
*
* Only one instances directory is allowed.
*
- * The instances directory is special as it allows for mkdir and rmdir to
+ * The instances directory is special as it allows for mkdir and rmdir
* to be done by userspace. When a mkdir or rmdir is performed, the inode
* locks are released and the methods passed in (@mkdir and @rmdir) are
* called without locks and with the name of the directory being created