X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fnotify%2Ffdinfo.c;h=238a5930cb3c7d16e1c76952e66c6bf24f5299ae;hb=96680d2b9174668100824d763382240c71baa811;hp=514c4b81483d618adda933b5e63b93bb9e529324;hpb=5b3040a48bc9b916dc318bde33c9ebd98f00fbeb;p=deliverable%2Flinux.git diff --git a/fs/notify/fdinfo.c b/fs/notify/fdinfo.c index 514c4b81483d..238a5930cb3c 100644 --- a/fs/notify/fdinfo.c +++ b/fs/notify/fdinfo.c @@ -27,13 +27,13 @@ static int show_fdinfo(struct seq_file *m, struct file *f, struct fsnotify_mark *mark; int ret = 0; - spin_lock(&group->mark_lock); + mutex_lock(&group->mark_mutex); list_for_each_entry(mark, &group->marks_list, g_list) { ret = show(m, mark); if (ret) break; } - spin_unlock(&group->mark_lock); + mutex_unlock(&group->mark_mutex); return ret; }