mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Molina <tmolina@cablespeed.com>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Is Rational rational?
Date: Mon, 15 Dec 2003 21:59:58 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0312152105550.5094@localhost.localdomain> (raw)

Does the enclosed patch to fs/namei.c make sense?

IBM/Rational Software is advocating use of the following patch to deal 
with a situation where users of Clearcase are having difficulties deleting 
sockets, devices, and named pipes when using the mvfs file system.  The 
problem reportedly arises from populating a shadow filesystem with the 
contents of the system root and the handling of sockets, devices and named 
pipes.  The full text of the problem report response can be accessed by 
going to:

http://www.ibm.com/software/rational/support/

and entering 1154790 in the search box.


--- /usr/src/linux/fs/namei.c Tue Oct 30 10:03:52 2001
+++ /usr/src/linux-patched/namei.c Fri Jun 20 05:12:16 2003
@@ -907,7 +907,7 @@
static inline int may_delete(struct inode *dir,struct dentry *victim, int isdir)
{
int error;
- if (!victim->d_inode || victim->d_parent->d_inode != dir)
+ if (!victim->d_inode)
return -ENOENT;
error = permission(dir,MAY_WRITE | MAY_EXEC);
if (error)

I'm not really competent to evaluate this proposesd patch, but it 
certainly makes me nervous.  Their comment on this also bothers me: 
"Rational Software believes that the check that is removed by this patch
is one that should never fail for any properly operating filesystem. "

             reply	other threads:[~2003-12-16  3:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-16  2:59 Thomas Molina [this message]
2003-12-16  3:22 ` Linus Torvalds
2003-12-16  4:48 ` viro

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=Pine.LNX.4.58.0312152105550.5094@localhost.localdomain \
    --to=tmolina@cablespeed.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®