On Thu, 14 Sep 2006 18:41:26 PDT, Rohit Seth said: > --- linux-2.6.18-rc6-mm2.org/kernel/container_configfs.c 1969-12-31 16:00:00.000000000 -0800 > +++ linux-2.6.18-rc6-mm2.ctn/kernel/container_configfs.c 2006-09-14 16:18:45.000000000 -0700 > +static ssize_t simple_containerfs_attr_show(struct config_item *item, > + struct configfs_attribute *attr, > + char *page) ... > + switch (ctfs_attr->idx) { > + case CONFIGFS_CTN_ATTR_ID: > + tmp = sc->ctn.id; > + break; ... > + return sprintf(page, "%ld\n", tmp); What use is this value, given that we already have containers/user_friendly_name to use in the filesystem namespace? Or is this a mostly-debugging thing?
Attachment:
pgpQnVQWhTJKZ.pgp
Description: PGP signature
- Follow-Ups:
- References:
- [Patch03/05]- Containers: Initialization and Configfs interface
- From: Rohit Seth <[email protected]>
- [Patch03/05]- Containers: Initialization and Configfs interface
- Prev by Date: Re: [Patch 01/05]- Containers: Documentation on using containers
- Next by Date: [-mm patch] missing class_dev to dev conversions
- Previous by thread: Re: [Patch03/05]- Containers: Initialization and Configfs interface
- Next by thread: Re: [Patch03/05]- Containers: Initialization and Configfs interface
- Index(es):