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>
This commit is contained in:
Chelsy Ratnawat
2026-04-03 02:27:09 -07:00
committed by Christian Brauner
parent 1f1651d6dc
commit 4639f1cfba

View File

@@ -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) {