aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorRuss W. Knize <[email protected]>2013-09-24 09:35:40 -0500
committerJaegeuk Kim <[email protected]>2013-09-25 17:49:12 +0900
commit885166c03c1d0ea6d79d707229340e3161ed1316 (patch)
treecd7619af62a9b5420e84fbfe4077a6b1395dfbaf /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parent691c6fd2a2d6b6db08b17beec5e42ab0687058c7 (diff)
f2fs: don't let the orphan inode counter underflow
Accounting errors from buggy code calling the acquire/release/remove orphan inode interfaces can cause n_orphans to underflow, which will then cause acquire_orphan_inode() to return -ENOSPC on the next operation. This commit guards against that condition. Signed-off-by: Russ Knize <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions