Skip to content

Commit 4639f1c

Browse files
ChelsyRatnawatbrauner
authored andcommitted
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>
1 parent 1f1651d commit 4639f1c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fs/attr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ int setattr_should_drop_sgid(struct mnt_idmap *idmap,
4646
EXPORT_SYMBOL(setattr_should_drop_sgid);
4747

4848
/**
49-
* setattr_should_drop_suidgid - determine whether the set{g,u}id bit needs to
50-
* be dropped
49+
* setattr_should_drop_suidgid - determine whether the set{g,u}id bit
50+
* needs to be dropped
5151
* @idmap: idmap of the mount @inode was found from
5252
* @inode: inode to check
5353
*
@@ -165,7 +165,7 @@ int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry,
165165
unsigned int ia_valid = attr->ia_valid;
166166

167167
/*
168-
* First check size constraints. These can't be overriden using
168+
* First check size constraints. These can't be overridden using
169169
* ATTR_FORCE.
170170
*/
171171
if (ia_valid & ATTR_SIZE) {

0 commit comments

Comments
 (0)