]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/zpl.h
Use cstyle -cpP in `make cstyle` check
[mirror_zfs.git] / include / sys / zpl.h
index 174d40efa905c6f0cc24cc2a942341d51af1c3d5..1f97f2511a37d97e78c21f03561481201139217a 100644 (file)
@@ -148,8 +148,7 @@ static inline bool
 dir_emit(struct dir_context *ctx, const char *name, int namelen,
     uint64_t ino, unsigned type)
 {
-       return (ctx->actor(ctx->dirent, name, namelen, ctx->pos, ino, type)
-               == 0);
+       return (!ctx->actor(ctx->dirent, name, namelen, ctx->pos, ino, type));
 }
 
 static inline bool