diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-22 10:19:14 +0300 | 
|---|---|---|
| committer | Jon Mason <jon.mason@intel.com> | 2013-05-15 10:57:24 -0700 | 
| commit | ad3e2751e7c546ae678be1f8d86e898506b42cef (patch) | |
| tree | 1a8f9da0ae59e8b24abe48b33a3221198ee7f4b4 /fs/btrfs/struct-funcs.c | |
| parent | 186f27ff9f9ec5c110739ced88ce9f8fca053882 (diff) | |
ntb: off by one sanity checks
These tests are off by one.  If "mw" is equal to NTB_NUM_MW then we
would go beyond the end of the ndev->mw[] array.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions
