ceph: fix comments, locking in destroy_inode
authorSage Weil <sage@newdream.net>
Mon, 22 Feb 2010 21:59:00 +0000 (13:59 -0800)
committerSage Weil <sage@newdream.net>
Tue, 23 Feb 2010 22:26:35 +0000 (14:26 -0800)
commita6369741c48815fedfce7072b7a9cd98b5bafd56
treedd9ce7da7a6c5556d6c7731423dff0824aad9545
parent4ce1e9adabbad8f2c45ceeeb6de56cc368484297
ceph: fix comments, locking in destroy_inode

The destroy_inode path needs no inode locks since there are no
inode references.  Update __ceph_remove_cap comment to reflect
that it is called without cap->session->s_mutex in this case.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c