# git rev-parse -q --verify fbcde197e1befae4228715edf1288c7646808b8b^{commit} fbcde197e1befae4228715edf1288c7646808b8b already have revision, skipping fetch # git checkout -q -f -B kisskb fbcde197e1befae4228715edf1288c7646808b8b # git clean -qxdf # < git log -1 # commit fbcde197e1befae4228715edf1288c7646808b8b # Author: Tobin C. Harding # Date: Mon May 13 21:59:04 2019 +0200 # # gfs2: Fix error path kobject memory leak # # If a call to kobject_init_and_add() fails we must call kobject_put() # otherwise we leak memory. # # Function gfs2_sys_fs_add always calls kobject_init_and_add() which # always calls kobject_init(). # # It is safe to leave object destruction up to the kobject release # function and never free it manually. # # Remove call to kfree() and always call kobject_put() in the error path. # # Signed-off-by: Tobin C. Harding # Reviewed-by: Greg Kroah-Hartman # Signed-off-by: Andreas Gruenbacher # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fbcde197e1befae4228715edf1288c7646808b8b # < make -s -j 120 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 defconfig # make -s -j 120 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/signal.c: In function 'timer_real_alarm_handler': /kisskb/src/arch/um/os-Linux/signal.c:93:1: warning: the frame size of 2960 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/arch/um/os-Linux/signal.c: In function 'sig_handler_common': /kisskb/src/arch/um/os-Linux/signal.c:51:1: warning: the frame size of 2960 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ LINK linux Completed OK # rm -rf /kisskb/build/linus_um-defconfig_um-x86_64 # Build took: 0:00:21.748540