linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dax: Remove unused variable in __dax_pmd_fault()
@ 2016-05-19  9:26 Jan Kara
  2016-05-20  7:55 ` Johannes Thumshirn
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kara @ 2016-05-19  9:26 UTC (permalink / raw)
  To: linux-nvdimm
  Cc: Ross Zwisler, Vishal Verma, Dan Williams, linux-fsdevel, Jan Kara

Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
---
 fs/dax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Ross spotted this small issue in my patch set so can you guys please merge this
fixup as well? Thanks!

diff --git a/fs/dax.c b/fs/dax.c
index a07202ab8f61..10f0303a92a5 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -1007,7 +1007,7 @@ int __dax_pmd_fault(struct vm_area_struct *vma, unsigned long address,
 	struct block_device *bdev;
 	pgoff_t size, pgoff;
 	sector_t block;
-	int error, result = 0;
+	int result = 0;
 	bool alloc = false;
 
 	/* dax pmd mappings require pfn_t_devmap() */
-- 
2.6.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dax: Remove unused variable in __dax_pmd_fault()
  2016-05-19  9:26 [PATCH] dax: Remove unused variable in __dax_pmd_fault() Jan Kara
@ 2016-05-20  7:55 ` Johannes Thumshirn
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Thumshirn @ 2016-05-20  7:55 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-nvdimm, linux-fsdevel

On Thu, May 19, 2016 at 11:26:52AM +0200, Jan Kara wrote:
> Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
> Signed-off-by: Jan Kara <jack@suse.cz>

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>

-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg
GF: Felix Imend�rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N�rnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-20  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19  9:26 [PATCH] dax: Remove unused variable in __dax_pmd_fault() Jan Kara
2016-05-20  7:55 ` Johannes Thumshirn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).