]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs: attr: fix comment formatting and spelling issues
authorChelsy Ratnawat <chelsyratnawat2001@gmail.com>
Fri, 3 Apr 2026 09:27:09 +0000 (02:27 -0700)
committerChristian Brauner <brauner@kernel.org>
Tue, 7 Apr 2026 09:26:11 +0000 (11:26 +0200)
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>
fs/attr.c

index e7d7c6d19fe9036d83248fd789a0f8876f339f9a..ded221defae6a4ba35b8565d8d527d6c4e861859 100644 (file)
--- 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) {