Re: [PATCH] btrfs-progs: fix symlink creation multiple times

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

 



On Thu, Feb 18, 2016 at 09:14:34PM -0500, Hongxu Jia wrote:
> The rule to create symlink in Makefile caused parallel issue:
> $ make -j 40 DESTDIR=/image install BUILD_VERBOSE=1
> ...
>   1     [LN]     libbtrfs.so.0
>   2     [LN]     libbtrfs.so
>   3 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
>   4 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
>   5 ln -s -f libbtrfs.so.0.1 libbtrfs.so
>   6 ln -s -f libbtrfs.so.0.1 libbtrfs.so
> ...
> 
> It failed occasionally:
> ...
> |symlinkat: couldn't stat 'git/libbtrfs.so' even though symlink
> creation succeeded (No such file or directory).
> |ln: failed to create symbolic link 'libbtrfs.so': No such file or directory
> ...
> 
> Signed-off-by: Hongxu Jia <hongxu.jia@xxxxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux