On Sat, Sep 27, 2014 at 12:39:02PM -0700, Linus Torvalds wrote: > On Sat, Sep 27, 2014 at 12:37 PM, Linus Torvalds > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > But yeah, I guess we can/should do the trivial ugly thing for 3.17. > > Send me a proper pull-request, > > .. and if it can happen before tomorrow, that would be good. I had to > give up on my wish to release 3.17 tomorrow due to the current size of > changes anyway, so there will be a rc7 (and my travel inconveniences > be damned), but I'd like this to be in that rc7. Works for you? Fine by me. How about that s-o-b? Right now it's commit 4f78a56cd96a3d421852b5a03e10355b0cbe764b Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Date: Wed Sep 24 12:27:39 2014 -0700 fold swapping ->d_name.hash into switch_names() and do it along with ->d_name.len there Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> diff --git a/fs/dcache.c b/fs/dcache.c index 92f7d76..7599d35 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -2412,7 +2412,7 @@ static void switch_names(struct dentry *dentry, struct dentry *target) } } } - swap(dentry->d_name.len, target->d_name.len); + swap(dentry->d_name.hash_len, target->d_name.hash_len); } static void dentry_lock_for_move(struct dentry *dentry, struct dentry *target) @@ -2510,7 +2510,6 @@ static void __d_move(struct dentry *dentry, struct dentry *target, /* Switch the names.. */ switch_names(dentry, target); - swap(dentry->d_name.hash, target->d_name.hash); /* ... and switch them in the tree */ if (IS_ROOT(dentry)) { -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html