From: Tomohiro Kusumi Date: Fri, 19 Apr 2019 19:03:32 +0000 (+0900) Subject: Fix incorrect "[UNUSED]" comments X-Git-Tag: zfs-0.8.0-rc5~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a35c12073ccc1ae22f816c1128363cb337bb3b06;p=zfs Fix incorrect "[UNUSED]" comments These aren't unused. `flag` in zfs_create() also isn't to indicate large file. Reviewed-by: Richard Elling Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Reviewed-by: Richard Laager Signed-off-by: Tomohiro Kusumi Closes #8635 --- diff --git a/module/zfs/zfs_vnops.c b/module/zfs/zfs_vnops.c index 0de75a891..18dfc5a68 100644 --- a/module/zfs/zfs_vnops.c +++ b/module/zfs/zfs_vnops.c @@ -1291,7 +1291,7 @@ zfs_lookup(struct inode *dip, char *nm, struct inode **ipp, int flags, * excl - flag indicating exclusive or non-exclusive mode. * mode - mode to open file with. * cr - credentials of caller. - * flag - large file flag [UNUSED]. + * flag - file flag. * vsecp - ACL to be set * * OUT: ipp - inode of created or trunc'd entry. @@ -4916,7 +4916,7 @@ convoff(struct inode *ip, flock64_t *lckdat, int whence, offset_t offset) * bfp - section of file to free/alloc. * flag - current file open mode flags. * offset - current file offset. - * cr - credentials of caller [UNUSED]. + * cr - credentials of caller. * * RETURN: 0 on success, error code on failure. *