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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CC: trivial@xxxxxxxxxx
Signed-off-by: Aurelien Aptel <aaptel@xxxxxxxx>
---
 fs/inode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/inode.c b/fs/inode.c
index 88110fd0b282..9249e859b62e 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -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)
 {
-- 
2.12.0




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux