aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2014-09-09 11:57:52 +1000
committerDave Chinner <[email protected]>2014-09-09 11:57:52 +1000
commit94f3cad555d66048906deade06a764f7ea2c6e4d (patch)
tree537cfbb0bcdacfb55f027cac223d6a2e35e358d5 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent970fd3f04d5949a4b5f6d0a5fea8e4b6797a5992 (diff)
xfs: check resblks before calling xfs_dir_canenter
Move the resblks test out of the xfs_dir_canenter, and into the caller. This makes a little more sense on the face of it; xfs_dir_canenter immediately returns if resblks !=0; and given some of the comments preceding the calls: * Check for ability to enter directory entry, if no space reserved. even more so. It also facilitates the next patch. Signed-off-by: Eric Sandeen <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions