]> granicus.if.org Git - zfs/commitdiff
Fix incorrect "[UNUSED]" comments
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 19 Apr 2019 19:03:32 +0000 (04:03 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 19 Apr 2019 19:03:32 +0000 (12:03 -0700)
These aren't unused.
`flag` in zfs_create() also isn't to indicate large file.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8635

module/zfs/zfs_vnops.c

index 0de75a8912cf23ad0f95a200c0c5d19071ec1374..18dfc5a680824bae55da06f6677fb3c540a2e627 100644 (file)
@@ -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.
  *