Skip to contentSkip to conversation

fs/inode.c: spelling in inode_owner_or_capable doc

PATCH New Aurelien Aptel 1 participant 1 message Apr 21, 2017 VFS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fs/inode.c: spelling in inode_owner_or_capable doc

---
 fs/inode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/inode.c +2 -2
index 88110fd0b282..9249e859b62e 100644
@@ -2014,8 +2014,8 @@ EXPORT_SYMBOL(inode_init_owner);
  * inode_owner_or_capable - check current task permissions to inode
  * @inode: inode being checked
  *
- * Return true if current either has CAP_FOWNER in a namespace with the
- * inode owner uid mapped, or owns the file.
+ * Return true if the current task owns the file or has CAP_FOWNER in a
+ * namespace with the inode owner uid mapped.
  */
 bool inode_owner_or_capable(const struct inode *inode)
 {
Signature · 1 line
2.12.0