Skip to contentSkip to conversation

fs/attr.c: Couple of typo fixes

PATCH In review Bhaskar Chowdhury 2 participants 2 messages Mar 20, 2021 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/attr.c: Couple of typo fixes

s/filesytem/filesystem/
s/asssume/assume/

---
 fs/attr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/attr.c +2 -2
index 87ef39db1c34..e5330853c844 100644
@@ -250,7 +250,7 @@ void setattr_copy(struct user_namespace *mnt_userns, struct inode *inode,
 EXPORT_SYMBOL(setattr_copy);
 
 /**
- * notify_change - modify attributes of a filesytem object
+ * notify_change - modify attributes of a filesystem object
  * @mnt_userns:	user namespace of the mount the inode was found from
  * @dentry:	object affected
  * @attr:	new attributes
@@ -265,7 +265,7 @@ EXPORT_SYMBOL(setattr_copy);
  * caller should drop the i_mutex before doing so.
  *
  * If file ownership is changed notify_change() doesn't map ia_uid and
- * ia_gid. It will asssume the caller has already provided the intended values.
+ * ia_gid. It will assume the caller has already provided the intended values.
  *
  * Alternatively, a caller may pass NULL for delegated_inode.  This may
  * be appropriate for callers that expect the underlying filesystem not

--
2.26.2

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Bhaskar Chowdhury

s/filesytem/filesystem/
s/asssume/assume/

Quoted 30 lines

---
fs/attr.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
fs/attr.c +2 -3
index 87ef39db1c34..e5330853c844 100644
@@ -250,7 +250,7 @@ void setattr_copy(struct user_namespace *mnt_userns, struct inode *inode,
 EXPORT_SYMBOL(setattr_copy);
 
 /**
- * notify_change - modify attributes of a filesytem object
+ * notify_change - modify attributes of a filesystem object
 * @mnt_userns:	user namespace of the mount the inode was found from
 * @dentry:	object affected
 * @attr:	new attributes
@@ -265,7 +265,7 @@ EXPORT_SYMBOL(setattr_copy);
 * caller should drop the i_mutex before doing so.
 *
 * If file ownership is changed notify_change() doesn't map ia_uid and
- * ia_gid. It will asssume the caller has already provided the intended values.
+ * ia_gid. It will assume the caller has already provided the intended values.
 *
 * Alternatively, a caller may pass NULL for delegated_inode.  This may
 * be appropriate for callers that expect the underlying filesystem not
--

2.26.2