Re: [RFC] __d_path() API change (was Re: [PATCH] Remove use of mnt_ns->root and fix a couple of bugs in d_namespace_path)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Cc: stable@xxxxxxxxxxxxxxx
Please add version you meant to apply.



By the way, why do we need to call like

  write_seqlock(&rename_lock);
  error = prepend_path(path, root, &res, &buflen);
  write_sequnlock(&rename_lock);

? I think it would look something like

  do {
    seq = read_seqbegin(&rename_lock);
    error = prepend_path(path, root, &res, &buflen);
  } while (read_seqretry(&rename_lock, seq));

because prepend_path() is for reading dentry tree rather than updating ...
--
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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux