Re: [PATCH 1/5] fs: configfs: Fix typo in comment

From: Krzysztof Opasiak
Date: Thu Apr 09 2015 - 10:50:48 EST




On 04/09/2015 03:46 PM, Felipe Balbi wrote:
On Wed, Apr 08, 2015 at 01:28:44PM +0200, Krzysztof Opasiak wrote:
Signed-off-by: Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx>
---
fs/configfs/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c
index cf0db00..dee1cb5 100644
--- a/fs/configfs/dir.c
+++ b/fs/configfs/dir.c
@@ -325,7 +325,7 @@ static void configfs_dir_set_ready(struct configfs_dirent *sd)
* attached and not validated yet.
* @sd configfs_dirent of the directory to check
*
- * @return non-zero iff the directory was validated
+ * @return non-zero if the directory was validated

iff is not a typo, it's short-hand for "if, and only if"


I've already dropped this patch in v2, but thank you for your remark.

Best regards,

--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/