The patch titled nfsd: add lock annotations to e_start and e_stop has been removed from the -mm tree. Its filename is nfsd-add-lock-annotations-to-e_start-and-e_stop.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: nfsd: add lock annotations to e_start and e_stop From: Josh Triplett <josht@xxxxxxxxxx> e_start acquires svc_export_cache.hash_lock, and e_stop releases it. Add lock annotations to these two functions so that sparse can check callers for lock pairing, and so that sparse will not complain about these functions since they intentionally use locks in this manner. Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxx> Cc: Neil Brown <neilb@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfsd/export.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/nfsd/export.c~nfsd-add-lock-annotations-to-e_start-and-e_stop fs/nfsd/export.c --- a/fs/nfsd/export.c~nfsd-add-lock-annotations-to-e_start-and-e_stop +++ a/fs/nfsd/export.c @@ -1078,6 +1078,7 @@ exp_pseudoroot(struct auth_domain *clp, /* Iterator */ static void *e_start(struct seq_file *m, loff_t *pos) + __acquires(svc_export_cache.hash_lock) { loff_t n = *pos; unsigned hash, export; @@ -1131,6 +1132,7 @@ static void *e_next(struct seq_file *m, } static void e_stop(struct seq_file *m, void *p) + __releases(svc_export_cache.hash_lock) { read_unlock(&svc_export_cache.hash_lock); exp_readunlock(); _ Patches currently in -mm which might be from josht@xxxxxxxxxx are origin.patch srcu-3-rcu-variant-permitting-read-side-blocking-srcu-add-lock-annotations.patch rcu-add-module_author-to-rcutorture-module.patch rcu-fix-incorrect-description-of-default-for-rcutorture.patch rcu-mention-rcu_bh-in-description-of-rcutortures.patch rcu-avoid-kthread_stop-on-invalid-pointer-if-rcutorture.patch rcu-fix-sign-bug-making-rcu_random-always-return-the-same.patch rcu-add-fake-writers-to-rcutorture.patch rcu-add-fake-writers-to-rcutorture-tidy.patch rcu-refactor-srcu_torture_deferred_free-to-work-for.patch rcu-add-rcu_sync-torture-type-to-rcutorture.patch rcu-add-rcu_bh_sync-torture-type-to-rcutorture.patch rcu-add-sched-torture-type-to-rcutorture.patch rcu-credits-and-maintainers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html