Revision f5c8f7dae75e1e6bb3200fc61302e4d5e2df3dc2 authored by Jan Kara on 04 July 2008, 16:59:33 UTC, committed by Linus Torvalds on 04 July 2008, 17:40:05 UTC
When write in ext3_quota_write() fails, we have to properly release
i_mutex.  One error path has been missing the unlock...

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 450c622
Raw File
nl80211.h
#ifndef __NET_WIRELESS_NL80211_H
#define __NET_WIRELESS_NL80211_H

#include "core.h"

#ifdef CONFIG_NL80211
extern int nl80211_init(void);
extern void nl80211_exit(void);
extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
#else
static inline int nl80211_init(void)
{
	return 0;
}
static inline void nl80211_exit(void)
{
}
static inline void nl80211_notify_dev_rename(
	struct cfg80211_registered_device *rdev)
{
}
#endif /* CONFIG_NL80211 */

#endif /* __NET_WIRELESS_NL80211_H */
back to top