>+#define BFITNOENT 0xFFFFFFFF
See previous mail, (uint32_t)-1 / (uint32_t)~0 or leave it.
>+static inline int rgrp_contains_block(struct gfs2_rindex *ri, uint64_t block)
>+{
>+ uint64_t first = ri->ri_data0;
>+ uint64_t last = first + ri->ri_data;
>+ return !!(first <= block && block < last);
>+}
No need for the !!, the expression !! is operating on is already a boolean.
IOW,
return first <= block && block < last;
>+/**
>+ * gfs2_alloc_put - throw away the struct gfs2_alloc for an inode
>+ * @ip: the inode
>+ *
>+ */
>+
>+void gfs2_alloc_put(struct gfs2_inode *ip)
>+{
>+ return;
>+}
Missing some code? Code that comes later?
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]