dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/xfs/quota
Julia Lawall 38e712ab3d fs/xfs/quota: Add missing mutex_unlock
Add a mutex_unlock missing on the error path.  The use of this lock
is balanced elsewhere in the file.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression E1;
@@

* mutex_lock(E1,...);
  <+... when != E1
  if (...) {
    ... when != E1
*   return ...;
  }
  ...+>
* mutex_unlock(E1,...);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Alex Elder <aelder@sgi.com>
2010-05-28 15:19:41 -05:00
..
xfs_dquot.c xfs: Clean up XFS_BLI_* flag namespace 2010-05-24 10:33:39 -05:00
xfs_dquot.h xfs: remove xfs_dqmarker 2010-05-19 09:58:11 -05:00
xfs_dquot_item.c xfs: access quotainfo structure directly 2010-05-19 09:58:14 -05:00
xfs_dquot_item.h xfs: Don't issue buffer IO direct from AIL push V2 2010-02-02 10:13:42 +11:00
xfs_qm.c fs/xfs/quota: Add missing mutex_unlock 2010-05-28 15:19:41 -05:00
xfs_qm.h xfs: convert the dquot free list to use list heads 2010-05-19 09:58:11 -05:00
xfs_qm_bhv.c xfs: quota limit statvfs available blocks 2010-01-21 16:34:23 -06:00
xfs_qm_stats.c xfs: convert the dquot free list to use list heads 2010-05-19 09:58:11 -05:00
xfs_qm_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_qm_syscalls.c xfs: removed unused XFS_QMOPT_ flags 2010-05-19 09:58:15 -05:00
xfs_quota_priv.h xfs: remove a few macro indirections in the quota code 2010-05-19 09:58:15 -05:00
xfs_trans_dquot.c xfs: remove a few macro indirections in the quota code 2010-05-19 09:58:15 -05:00