diff options
author | 2010-04-21 12:01:23 +0100 | |
---|---|---|
committer | 2010-04-21 12:27:43 -0700 | |
commit | 083fd8b21a13742b37ab347089c73f895a896672 (patch) | |
tree | 175030e7b74d83d768529b9d910b852f097a71c7 /drivers/usb/misc/usbsevseg.c | |
parent | Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 (diff) | |
download | wireguard-linux-083fd8b21a13742b37ab347089c73f895a896672.tar.xz wireguard-linux-083fd8b21a13742b37ab347089c73f895a896672.zip |
AFS: Don't pass error value to page_cache_release() in error handling
In the error handling in afs_mntpt_do_automount(), we pass an error
pointer to page_cache_release() if read_mapping_page() failed. Instead,
we should extend the gotos around the error handling we don't need.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/misc/usbsevseg.c')
0 files changed, 0 insertions, 0 deletions