Re: [PATCH] fs: xfs: Change return type to vm_fault_t

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

 



On Sun, Apr 15, 2018 at 05:34:27AM -0700, Matthew Wilcox wrote:
> On Sun, Apr 15, 2018 at 05:04:26AM -0700, Christoph Hellwig wrote:
> > On Sun, Apr 15, 2018 at 04:11:04AM -0700, Matthew Wilcox wrote:
> > > > Please just send one damn patch adding the typedef and the sparse
> > > > annotation and converting everyone over.  Splitting this into five
> > > > gazillion patches that do nothing doesn't help anyone.
> > > 
> > > The XFS one is trivial.  Many of the others are not.
> > 
> > if they arne't trivial you are doing something wrong.  That is you
> > fix bugs that exist independent of the annotation together with the
> > annotation.
> > 
> > Fix all the bugs first, and send them in (including for -stable) and
> > then do the annotations in one big patch.
> 
> They aren't all bugs.  Some of them are just splitting errnos apart
> from return values for typesafety.  The ones that are bugfixes are
> unlikely-to-happen bugs like running out of memory when allocating a
> page table, and returning "we inserted the PTE" instead of "we ran out
> of memory".  More of a QOI issue than an exploitable bug.

Then do all the cleanups first and do the batch rename of the type after
that, same concept.

One patch per functional change, not one change per subsystem, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux