The patch titled fuse: add lock annotations to request_end and fuse_read_interrupt has been added to the -mm tree. Its filename is fuse-add-lock-annotations-to-request_end-and-fuse_read_interrupt.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fuse: add lock annotations to request_end and fuse_read_interrupt From: Josh Triplett <josht@xxxxxxxxxx> request_end and fuse_read_interrupt release fc->lock. 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> Acked-by: Miklos Szeredi <miklos@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/fuse/dev.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/fuse/dev.c~fuse-add-lock-annotations-to-request_end-and-fuse_read_interrupt fs/fuse/dev.c --- a/fs/fuse/dev.c~fuse-add-lock-annotations-to-request_end-and-fuse_read_interrupt +++ a/fs/fuse/dev.c @@ -212,6 +212,7 @@ void fuse_put_request(struct fuse_conn * * Called with fc->lock, unlocks it */ static void request_end(struct fuse_conn *fc, struct fuse_req *req) + __releases(fc->lock) { void (*end) (struct fuse_conn *, struct fuse_req *) = req->end; req->end = NULL; @@ -640,6 +641,7 @@ static void request_wait(struct fuse_con */ static int fuse_read_interrupt(struct fuse_conn *fc, struct fuse_req *req, const struct iovec *iov, unsigned long nr_segs) + __releases(fc->lock) { struct fuse_copy_state cs; struct fuse_in_header ih; _ Patches currently in -mm which might be from josht@xxxxxxxxxx are release-dentry_lock-in-an-error-path-of-nfs_path.patch remove-incorrect-unlock_kernel-from-allocation.patch remove-incorrect-unlock_kernel-from-failure-path-in.patch add-entry-for-efs-filesystem-to-maintainers-as-orphan.patch ufs-remove-incorrect-unlock_kernel-from-failure-path-in-ufs_symlink.patch efi-add-lock-annotations-for-efi_call_phys_prelog-and-efi_call_phys_epilog.patch mbcache-add-lock-annotation-for-__mb_cache_entry_release_unlock.patch afs-add-lock-annotations-to-afs_proc_cell_servers_startstop.patch fuse-add-lock-annotations-to-request_end-and-fuse_read_interrupt.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