diff mbox

[v2,1/3] ceph: fix up comment for ceph_count_locks() as to which lock to hold

Message ID 1368635894-114707-2-git-send-email-jaschut@sandia.gov (mailing list archive)
State New, archived
Headers show

Commit Message

Jim Schutt May 15, 2013, 4:38 p.m. UTC
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
---
 fs/ceph/locks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Alex Elder May 15, 2013, 4:42 p.m. UTC | #1
On 05/15/2013 11:38 AM, Jim Schutt wrote:
> 
> Signed-off-by: Jim Schutt <jaschut@sandia.gov>

Looks good.

Reviewed-by: Alex Elder <elder@inktank.com>

> ---
>  fs/ceph/locks.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/ceph/locks.c b/fs/ceph/locks.c
> index 202dd3d..ffc86cb 100644
> --- a/fs/ceph/locks.c
> +++ b/fs/ceph/locks.c
> @@ -169,7 +169,7 @@ int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
>  }
>  
>  /**
> - * Must be called with BKL already held. Fills in the passed
> + * Must be called with lock_flocks() already held. Fills in the passed
>   * counter variables, so you can prepare pagelist metadata before calling
>   * ceph_encode_locks.
>   */
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ceph/locks.c b/fs/ceph/locks.c
index 202dd3d..ffc86cb 100644
--- a/fs/ceph/locks.c
+++ b/fs/ceph/locks.c
@@ -169,7 +169,7 @@  int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
 }
 
 /**
- * Must be called with BKL already held. Fills in the passed
+ * Must be called with lock_flocks() already held. Fills in the passed
  * counter variables, so you can prepare pagelist metadata before calling
  * ceph_encode_locks.
  */