diff options
author | 2011-01-24 00:57:10 +0000 | |
---|---|---|
committer | 2011-01-28 16:40:37 -0500 | |
commit | abd30bb0af9d4671506502278e8631bed9e3c35c (patch) | |
tree | 73e00f8712c8e4460647dd889cc32503fb56c21b /kernel/irq/pm.c | |
parent | btrfs: fix return value check of btrfs_join_transaction() (diff) | |
download | wireguard-linux-abd30bb0af9d4671506502278e8631bed9e3c35c.tar.xz wireguard-linux-abd30bb0af9d4671506502278e8631bed9e3c35c.zip |
btrfs: check return value of btrfs_start_ioctl_transaction() properly
btrfs_start_ioctl_transaction() returns ERR_PTR(), not NULL.
So, it is necessary to use IS_ERR() to check the return value.
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions