Eric Sandeen
6ee49a20c1
xfs: don't send null bp to xfs_trans_brelse()
...
In this case, if bp is NULL, error is set, and we send a
NULL bp to xfs_trans_brelse, which will try to dereference it.
Test whether we actually have a buffer before we try to
free it.
Coverity spotted this.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2014-10-02 09:23:49 +10:00
..
2014-10-02 09:23:49 +10:00
2014-07-30 09:12:05 +10:00
2014-10-02 09:18:13 +10:00
2013-11-06 16:31:27 -06:00
2014-07-15 08:07:01 +10:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2014-06-25 14:58:08 +10:00
2014-01-25 23:58:21 -05:00
2014-06-25 14:58:08 +10:00
2013-09-04 09:23:46 -04:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2013-08-12 16:53:39 -05:00
2013-10-30 13:59:56 -05:00
2014-09-23 16:20:11 +10:00
2014-07-15 07:08:24 +10:00
2014-09-23 16:15:45 +10:00
2013-10-23 16:28:49 -05:00
2014-09-09 11:44:46 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2011-08-12 16:21:35 -05:00
2013-12-13 11:34:08 +11:00
2013-12-13 11:34:08 +11:00
2014-08-04 12:43:26 +10:00
2014-07-24 19:49:28 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2011-08-12 16:21:35 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2014-06-25 14:58:08 +10:00
2013-08-12 16:07:13 -05:00
2014-09-09 11:57:10 +10:00
2014-06-25 14:58:08 +10:00
2014-04-23 07:11:52 +10:00
2014-08-04 13:54:14 +10:00
2014-06-25 14:58:08 +10:00
2011-01-11 20:28:17 -06:00
2014-09-09 11:56:13 +10:00
2014-09-23 16:05:55 +10:00
2014-07-24 19:49:28 +10:00
2013-12-13 11:34:02 +11:00
2013-08-12 16:10:35 -05:00
2014-06-25 14:58:08 +10:00
2013-12-13 11:34:05 +11:00
2014-10-02 09:18:40 +10:00
2014-10-02 09:21:53 +10:00
2014-10-02 09:17:58 +10:00
2014-10-02 09:17:58 +10:00
2014-10-02 09:20:30 +10:00
2013-08-12 16:56:06 -05:00
2014-08-04 13:53:47 +10:00
2013-10-01 15:42:34 -05:00
2014-09-23 22:55:00 +10:00
2014-01-25 23:58:21 -05:00
2014-08-04 11:22:31 +10:00
2014-08-04 11:22:31 +10:00
2014-10-02 09:18:13 +10:00
2014-09-23 15:57:59 +10:00
2014-07-15 08:07:29 +10:00
2014-09-09 11:57:29 +10:00
2014-08-04 13:55:27 +10:00
2014-05-20 08:18:09 +10:00
2013-10-23 16:17:44 -05:00
2013-05-07 18:45:36 -05:00
2014-08-04 13:55:27 +10:00
2014-07-15 08:07:01 +10:00
2014-09-09 11:44:46 +10:00
2014-04-23 07:11:51 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-08-04 13:55:27 +10:00
2014-07-24 20:49:57 +10:00
2013-10-23 14:28:35 -05:00
2014-07-24 21:27:17 +10:00
2014-09-23 16:11:43 +10:00
2014-09-09 11:58:42 +10:00
2014-04-24 16:00:52 +10:00
2014-04-24 16:00:52 +10:00
2014-09-09 11:52:42 +10:00
2014-07-30 09:12:05 +10:00
2014-09-09 11:57:52 +10:00
2013-10-08 14:53:02 -05:00
2013-06-17 17:42:25 -05:00
2014-09-09 11:56:13 +10:00
2014-09-09 11:56:13 +10:00
2014-09-09 11:52:42 +10:00
2014-04-23 07:11:52 +10:00
2014-06-12 10:30:18 -07:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2013-10-23 16:17:44 -05:00
2014-10-02 09:18:13 +10:00
2014-04-14 19:06:05 +10:00
2014-06-25 14:58:08 +10:00
2013-12-13 11:34:02 +11:00
2014-07-30 09:12:05 +10:00
2014-06-25 14:58:08 +10:00
2013-05-07 18:45:36 -05:00