aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2016-07-06 12:02:09 +0000
committerJens Axboe <[email protected]>2016-07-12 15:33:43 +0000
commit69555af2ce32a31d11666e5fe20628b35fdf7ef3 (patch)
treebf8f78689a6ab8ec0c4c064a2ebbcc65bccb1a89 /fs/jbd2/commit.c
parentnvme-fabrics: add-remove ctrl repeat fix (diff)
downloadkernel-69555af2ce32a31d11666e5fe20628b35fdf7ef3.tar.gz
kernel-69555af2ce32a31d11666e5fe20628b35fdf7ef3.zip
nvmet: fix return value check in nvmet_subsys_alloc()
In case of error, the function kstrndup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Jay Freyensee <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions