X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fpatches%2Fiopen-misc-2.6-fc3.patch;h=5fc42b58ca21ef222d3ef97d84f6758a26130bc3;hb=9149bb4051b7d33e7e416d3178fc4fc18fef0826;hp=5dbefed2330f4015153f59050d8cf232acccca72;hpb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56;p=fs%2Flustre-release.git diff --git a/lustre/kernel_patches/patches/iopen-misc-2.6-fc3.patch b/lustre/kernel_patches/patches/iopen-misc-2.6-fc3.patch index 5dbefed..5fc42b5 100644 --- a/lustre/kernel_patches/patches/iopen-misc-2.6-fc3.patch +++ b/lustre/kernel_patches/patches/iopen-misc-2.6-fc3.patch @@ -34,7 +34,7 @@ Index: linux-2.6.11/fs/dcache.c */ -void d_move(struct dentry * dentry, struct dentry * target) -+void __d_move(struct dentry * dentry, struct dentry * target) ++void d_move_locked(struct dentry * dentry, struct dentry * target) { struct hlist_head *list; @@ -51,12 +51,12 @@ Index: linux-2.6.11/fs/dcache.c write_sequnlock(&rename_lock); +} + -+EXPORT_SYMBOL(__d_move); ++EXPORT_SYMBOL(d_move_locked); + +void d_move(struct dentry *dentry, struct dentry *target) +{ + spin_lock(&dcache_lock); -+ __d_move(dentry, target); ++ d_move_locked(dentry, target); spin_unlock(&dcache_lock); } @@ -68,7 +68,7 @@ Index: linux-2.6.11/include/linux/dcache.h * This adds the entry to the hash queues. */ extern void d_rehash(struct dentry *); -+extern void __d_rehash(struct dentry *, int lock); ++extern void d_rehash_cond(struct dentry *, int lock); /** * d_add - add dentry to hash queues @@ -76,7 +76,7 @@ Index: linux-2.6.11/include/linux/dcache.h /* used for rename() and baskets */ extern void d_move(struct dentry *, struct dentry *); -+extern void __d_move(struct dentry *, struct dentry *); ++extern void d_move_locked(struct dentry *, struct dentry *); /* appendix may either be NULL or be used for transname suffixes */ extern struct dentry * d_lookup(struct dentry *, struct qstr *);