From a35c12073ccc1ae22f816c1128363cb337bb3b06 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sat, 20 Apr 2019 04:03:32 +0900 Subject: [PATCH] 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 --- module/zfs/zfs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. * -- 2.39.2