summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorSwapnil Pimpale <spimpale@ddn.com>2014-02-09 11:51:46 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-12 00:09:57 +0400
commit7486bc06ab2c46d6957f0211d09bc549aaf9cc87 (patch)
tree2d3c4ffe4b1cbe78ca86a92269ef9ec93b6b6614 /scripts/cleanpatch
parentf34b6cd3ee6c3cd80ce6ccfb1be203145718807f (diff)
downloadlinux-7486bc06ab2c46d6957f0211d09bc549aaf9cc87.tar.xz
lustre: Unsafe error handling around ll_splice_alias
Callers of ll_splice_alias() should not assign the returned pointer to the dentry since it can be an err pointer. Fixed the above bug using a temporary dentry pointer. This temporary pointer is assigned to dentry only if ll_splice_alias has not returned an err pointer. Signed-off-by: Swapnil Pimpale <spimpale@ddn.com> Reviewed-on: http://review.whamcloud.com/7460 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3807 Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions