From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: Re: [PATCH 5/9 v2] SQUASHME: prd: Last fixes for partitions Date: Tue, 26 Aug 2014 11:18:13 +0300 Message-ID: <53FC42C5.6040300@plexistor.com> References: <53EB5536.8020702@gmail.com> <53EB5709.4090401@plexistor.com> <53ECB480.4060104@plexistor.com> <1408997403.17731.7.camel@rzwisler-mobl1.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-fsdevel , Andrew Morton , linux-mm@kvack.org, Matthew Wilcox , Sagi Manole , Yigal Korman To: Ross Zwisler Return-path: In-Reply-To: <1408997403.17731.7.camel@rzwisler-mobl1.amr.corp.intel.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On 08/25/2014 11:10 PM, Ross Zwisler wrote: <> > I think we can still have a working probe by instead comparing the passed in > dev_t against the dev_t we get back from disk_to_dev(prd->prd_disk), but I'd > really like a use case so I can test this. Until then I think I'm just going > to stub out prd/pmem_probe() with a BUG() so we can see if anyone hits it. > > It seems like this is preferable to just registering NULL for probe, as that > would cause an oops in kobj_lookup(() when probe() is blindly called without > checking for NULL. > I have a version I think you will love it removes the probe and bunch of other stuff. I tested it heavily it just works Comming soon, I'm preparing trees right now Thanks Boaz -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org