diff options
author | Sage Weil <sage@newdream.net> | 2011-03-15 14:57:41 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-03-21 12:24:26 -0700 |
commit | 147851d2dc4d2be2f60d40276d12d7ef82f8a7ce (patch) | |
tree | e7b112fab505f6f97694fee5f2d6c509e8dd6289 | |
parent | 49bcb93236ce1c60d9b7eb21a0aea1999f4d8709 (diff) | |
download | op-kernel-dev-147851d2dc4d2be2f60d40276d12d7ef82f8a7ce.zip op-kernel-dev-147851d2dc4d2be2f60d40276d12d7ef82f8a7ce.tar.gz |
ceph: rename dentry_release -> d_release, fix comment
Just for consistency's sake. Fix obsolete comment too.
Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r-- | fs/ceph/dir.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index cbe875d..1a867a3 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c @@ -1027,14 +1027,13 @@ out_touch: } /* - * When a dentry is released, clear the dir I_COMPLETE if it was part - * of the current dir gen or if this is in the snapshot namespace. + * Release our ceph_dentry_info. */ -static void ceph_dentry_release(struct dentry *dentry) +static void ceph_d_release(struct dentry *dentry) { struct ceph_dentry_info *di = ceph_dentry(dentry); - dout("dentry_release %p\n", dentry); + dout("d_release %p\n", dentry); if (di) { ceph_dentry_lru_del(dentry); if (di->lease_session) @@ -1259,14 +1258,14 @@ const struct inode_operations ceph_dir_iops = { const struct dentry_operations ceph_dentry_ops = { .d_revalidate = ceph_d_revalidate, - .d_release = ceph_dentry_release, + .d_release = ceph_d_release, }; const struct dentry_operations ceph_snapdir_dentry_ops = { .d_revalidate = ceph_snapdir_d_revalidate, - .d_release = ceph_dentry_release, + .d_release = ceph_d_release, }; const struct dentry_operations ceph_snap_dentry_ops = { - .d_release = ceph_dentry_release, + .d_release = ceph_d_release, }; |