diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2014-02-06 15:14:13 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-07 13:49:48 -0700 |
commit | 087787959ce851d7bbb19f10f6e9241b7f85a3ca (patch) | |
tree | d4cd09112a3620906034e88a342b05d1ea49232a /security/inode.c | |
parent | 14ec77f352cb00ab8425ec2af03bd7e529eefe24 (diff) | |
download | op-kernel-dev-087787959ce851d7bbb19f10f6e9241b7f85a3ca.zip op-kernel-dev-087787959ce851d7bbb19f10f6e9241b7f85a3ca.tar.gz |
block: Fix nr_vecs for inline integrity vectors
Commit 9f060e2231ca changed the way we handle allocations for the
integrity vectors. When the vectors are inline there is no associated
slab and consequently bvec_nr_vecs() returns 0. Ensure that we check
against BIP_INLINE_VECS in that case.
Reported-by: David Milburn <dmilburn@redhat.com>
Tested-by: David Milburn <dmilburn@redhat.com>
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions