summaryrefslogtreecommitdiff
path: root/net/rxrpc/ar-connevent.c
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2012-08-08 13:44:11 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2012-08-13 14:13:19 +0530
commit559be66522421d65e323a2fae1016d968c1b9d12 (patch)
tree6f40fd605d73bfec1a0ecf30df7a6d1b7df40b98 /net/rxrpc/ar-connevent.c
parent9b4436ab334a870acf102bad5eb0155c7823a34e (diff)
sw_sync: Fix error paths
Check the return value of get_unused_fd to make sure a valid file descriptor is returned. Make sure to call put_unused_fd even if an error occurs before the fd can be used. Change-Id: Ibbf55caebc2f8ee6a03f298eb0ae0189c7d10b5c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'net/rxrpc/ar-connevent.c')
0 files changed, 0 insertions, 0 deletions