X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnamei.c;h=54fc993e3027d4dff98dcf4f14ebbb4d817cdb0f;hb=96ad9999185363a1520434bdc6a775bbb27621f1;hp=e6cd6113872ccd4db1dadfa5deff08f90a45c8a0;hpb=4263a2f1dad8c8e7ce2352a0cbc882c2b0c044a9;p=pandora-kernel.git diff --git a/fs/namei.c b/fs/namei.c index e6cd6113872c..54fc993e3027 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -697,6 +697,7 @@ static __always_inline void set_root_rcu(struct nameidata *nd) do { seq = read_seqcount_begin(&fs->seq); nd->root = fs->root; + nd->seq = __read_seqcount_begin(&nd->root.dentry->d_seq); } while (read_seqcount_retry(&fs->seq, seq)); } }