OSDN Git Service

dm log userspace base: fix compile warning
authorNicholas Mc Guire <hofrat@osadl.org>
Wed, 18 Mar 2015 22:59:02 +0000 (18:59 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:20 +0000 (12:10 -0400)
commit18cc980ac8cf8c727d1f7d581b4576ed64bd78a6
tree82e8b0bf26e893fca24d249aeebffbc2521f8425
parentc32a512fdf62de260ee8298436558ea50b94dfcb
dm log userspace base: fix compile warning

This fixes up a compile warning [-Wunused-but-set-variable] - given the
comment in userspace_set_region_sync() the non-reporting of errors is
intentional so the return value can be dropped to make gcc happy.

Also, fix typo in comment.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-log-userspace-base.c