Re: [RFC] [PATCH 2/8] inode-diet: Move i_pipe into a union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Move the i_pipe pointer into a union that will be shared with i_bdev
>and i_cdev.

>+	union {
>+		struct pipe_inode_info	*i_pipe;
>+	};

Since in the next patch you did

-       if (inode->i_bdev)
+       if (S_ISBLK(inode->i_mode) && inode->i_bdev)

I am just asking, for clarity, if there were any similar lines for 
pipes that should now read S_IFIFO(inode->i_mode) too, like for bdevs.


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]
  Powered by Linux