summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChelsy Ratnawat <chelsyratnawat2001@gmail.com>2026-04-03 12:27:09 +0300
committerChristian Brauner <brauner@kernel.org>2026-04-07 12:26:11 +0300
commit4639f1cfba03e77e4fa2062cf904de63021fb746 (patch)
tree86cbb96cd99948d6af7475c6d6c5b56c74852df6
parent1f1651d6dc2ac282d07043358824273c15a1cac4 (diff)
downloadlinux-4639f1cfba03e77e4fa2062cf904de63021fb746.tar.xz
fs: attr: fix comment formatting and spelling issues
Fix minor comment issues in fs/attr.c reported by checkpatch: - Wrap long comment lines to comply with the 75-character limit - Correct spelling of “overriden” to “overridden” No functional changes. Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com> Link: https://patch.msgid.link/20260403092709.83458-1-chelsyratnawat2001@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--fs/attr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/attr.c b/fs/attr.c
index e7d7c6d19fe9..ded221defae6 100644
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -46,8 +46,8 @@ int setattr_should_drop_sgid(struct mnt_idmap *idmap,
EXPORT_SYMBOL(setattr_should_drop_sgid);
/**
- * setattr_should_drop_suidgid - determine whether the set{g,u}id bit needs to
- * be dropped
+ * setattr_should_drop_suidgid - determine whether the set{g,u}id bit
+ * needs to be dropped
* @idmap: idmap of the mount @inode was found from
* @inode: inode to check
*
@@ -165,7 +165,7 @@ int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry,
unsigned int ia_valid = attr->ia_valid;
/*
- * First check size constraints. These can't be overriden using
+ * First check size constraints. These can't be overridden using
* ATTR_FORCE.
*/
if (ia_valid & ATTR_SIZE) {