From: Jim Meyering Date: Sun, 9 Nov 2003 20:47:15 +0000 (+0000) Subject: Include "dev-ino.h". X-Git-Tag: v5.1.0~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cebcfb5655096286b125dd9fd6fc8b31549def7;p=thirdparty%2Fcoreutils.git Include "dev-ino.h". (struct Chown_option): Add new member: root_dev_ino. --- diff --git a/src/chown-core.h b/src/chown-core.h index 0761b383bd..3005f83dc3 100644 --- a/src/chown-core.h +++ b/src/chown-core.h @@ -18,6 +18,8 @@ #ifndef CHOWN_CORE_H # define CHOWN_CORE_H +# include "dev-ino.h" + enum Change_status { CH_NOT_APPLIED = 1, @@ -46,6 +48,10 @@ struct Chown_option /* If nonzero, change the ownership of directories recursively. */ bool recurse; + /* Pointer to the device and inode numbers of `/', when --recursive. + Need not be freed. Otherwise NULL. */ + struct dev_ino *root_dev_ino; + /* This corresponds to the --dereference (opposite of -h) option. */ bool affect_symlink_referent;