diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-15 10:20:28 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-26 15:20:38 +0900 |
commit | b44aa8c96e9eea54a42c074c278a8e05e1c231d5 (patch) | |
tree | f5735b1829fc16b1301469330814240ca282a198 /lib/lockref.c | |
parent | 6eabebb1b66c48d830549dbca5952f72307fbd0b (diff) | |
download | linux-b44aa8c96e9eea54a42c074c278a8e05e1c231d5.tar.gz linux-b44aa8c96e9eea54a42c074c278a8e05e1c231d5.tar.bz2 linux-b44aa8c96e9eea54a42c074c278a8e05e1c231d5.zip |
kbuild: deb-pkg: make .orig tarball a hard link if possible
If '..' belongs to the same filesystem, create a hard link instead of
a copy. In most cases, you can save disk space.
I do not want to use 'mv' because keeping linux.tar.gz is useful to
avoid unneeded rebuilding of the tarball.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions