summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/ohci.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-11-12 15:42:08 +0100
committerJan Kara <jack@suse.cz>2009-12-10 15:02:51 +0100
commitc56818d7dc976a7392be82e8e04fe26347d591f3 (patch)
tree28c40dcb53198dc6870bb75b0250458579ade727 /drivers/firewire/ohci.h
parentconst: struct quota_format_ops (diff)
downloadlinux-c56818d7dc976a7392be82e8e04fe26347d591f3.tar.xz
linux-c56818d7dc976a7392be82e8e04fe26347d591f3.zip
quota: Fix WARN_ON in lookup_one_len
We should hold i_mutex when looking up quota files for journaled quotas, otherwise a WARN_ON in lookup_one_len triggers. The fact that we didn't hold i_mutex previously probably could not lead to a real bug since the filesystem is just being mounted / remounted read-write and thus the root directory cannot change anyway but it's definitely cleaner with i_mutex. Reported-by: Bastien ROUCARIES <roucaries.bastien@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/firewire/ohci.h')
0 files changed, 0 insertions, 0 deletions