mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nikita Danilov <nikita@clusterfs.com>
To: Steven Whitehouse <swhiteho@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: GFS2 Filesystem [14/16]
Date: Sat, 25 Feb 2006 19:54:59 +0300	[thread overview]
Message-ID: <17408.35811.419079.574238@gargle.gargle.HOWL> (raw)
In-Reply-To: <1140793580.6400.736.camel@quoit.chygwyn.com>

Steven Whitehouse writes:
 > [PATCH 14/16] GFS2: 
 > 

[...]

 > +
 > +int gdlm_kobject_setup(struct gdlm_ls *ls, struct kobject *fskobj)
 > +{
 > +	int error;
 > +
 > +	error = kobject_set_name(&ls->kobj, "%s", "lock_module");
 > +	if (error) {
 > +		log_error("can't set kobj name %d", error);
 > +		return error;
 > +	}
 > +
 > +	ls->kobj.kset = &gdlm_kset;
 > +	ls->kobj.ktype = &gdlm_ktype;
 > +	ls->kobj.parent = fskobj;
 > +
 > +	error = kobject_register(&ls->kobj);

What prevents races between file system umount (and file system module
unloading) and invocations of ->show/->store? This used to be a
show-stopper for exporting file system attributes in sysfs.

Nikita.

      reply	other threads:[~2006-02-25 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 15:06 Steven Whitehouse
2006-02-25 16:54 ` Nikita Danilov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17408.35811.419079.574238@gargle.gargle.HOWL \
    --to=nikita@clusterfs.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=swhiteho@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®