Messages in this thread | | | From | Amir Goldstein <> | Date | Thu, 2 Jan 2020 22:08:32 +0200 | Subject | Re: [PATCH v2 1/2] tmpfs: Add per-superblock i_ino support |
| |
On Thu, Jan 2, 2020 at 10:00 PM Chris Down <chris@chrisdown.name> wrote: > > Amir Goldstein writes: > >Wouldn't it be easier to check max_inodes instead of passing this > >use_sb_ino arg? > >Is there any case where they *need* to differ? > > Hmm, I suppose probably not? In that case should I just check against > SB_KERNMOUNT, since max_inodes can only be 0 in that case? >
Yes, I think that would be best.
Thanks, Amir.
| |