Skip to contentSkip to conversation

fs: update comments to point correct document

PATCH In review Namhyung Kim 2 participants 2 messages Jan 22, 2011 – Feb 17, 2011 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: update comments to point correct document

dcache-locking.txt is not exist any more, and the path was not correct anyway. Fix it.

---
 fs/dcache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/dcache.c +2 -2
index 9f493ee4dcba..56be05ef4fe3 100644
@@ -1779,7 +1779,7 @@ struct dentry *__d_lookup_rcu(struct dentry *parent, struct qstr *name,
 	 * false-negative result. d_lookup() protects against concurrent
 	 * renames using rename_lock seqlock.
 	 *
-	 * See Documentation/vfs/dcache-locking.txt for more details.
+	 * See Documentation/filesystems/path-lookup.txt for more details.
 	 */
 	hlist_bl_for_each_entry_rcu(dentry, node, &b->head, d_hash) {
 		struct inode *i;
@@ -1899,7 +1899,7 @@ struct dentry *__d_lookup(struct dentry *parent, struct qstr *name)
 	 * false-negative result. d_lookup() protects against concurrent
 	 * renames using rename_lock seqlock.
 	 *
-	 * See Documentation/vfs/dcache-locking.txt for more details.
+	 * See Documentation/filesystems/path-lookup.txt for more details.
 	 */
 	rcu_read_lock();
 	
Signature · 1 line
1.7.3.4.600.g982838b0
#1 lore raw
Quoted 22 lines · Namhyung Kim

dcache-locking.txt is not exist any more, and the path was not correct anyway. Fix it.

---
 fs/dcache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/dcache.c +1 -1
index 9f493ee4dcba..56be05ef4fe3 100644
@@ -1779,7 +1779,7 @@ struct dentry *__d_lookup_rcu(struct dentry *parent, struct qstr *name,
 	 * false-negative result. d_lookup() protects against concurrent
 	 * renames using rename_lock seqlock.
 	 *
-	 * See Documentation/vfs/dcache-locking.txt for more details.
+	 * See Documentation/filesystems/path-lookup.txt for more details.
 	 */
 	hlist_bl_for_each_entry_rcu(dentry, node, &b->head, d_hash) {
 		struct inode *i;

fs/dcache.c struct dentry *__d_lookup(struct dentry *parent, struct qstr *name) · line 1904

Quoted 7 lines
fs/dcache.c +1 -1
@@ -1899,7 +1899,7 @@ struct dentry *__d_lookup(struct dentry *parent, struct qstr *name)
 	 * false-negative result. d_lookup() protects against concurrent
 	 * renames using rename_lock seqlock.
 	 *
-	 * See Documentation/vfs/dcache-locking.txt for more details.
+	 * See Documentation/filesystems/path-lookup.txt for more details.
 	 */
 	rcu_read_lock();

Doesn't seem to be present in linux-next as of today. I have picked that up.

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.