Re: [PATCH] mmap: restore -ENODEV on missing f_op->mmap

From: Jeff Mahoney
Date: Tue Oct 30 2007 - 21:03:56 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Randy Dunlap wrote:
> On Tue, 30 Oct 2007 15:45:56 -0700 (PDT) Linus Torvalds wrote:
>
>>
>> On Tue, 30 Oct 2007, Jeff Mahoney wrote:
>>> Personally, I think this is probably a case of LTP codifying existing
>>> behavior rather than testing the for the specification. If that's the case
>>> and nobody really cares about the change in behavior, I'm fine letting this
>>> drop.
>> Hmm.. I think it's kind of stupid adding that special case early on, just
>> to get one particular error case return when there are multiple possible
>> ones.
>>
>> I don't care deeply, but this does smell like a test issue rather than a
>> code issue.
>>
>> Looking at that path, there are *other* things that might be worth
>> cleaning up, but this wasn't one of them..
>
>
> Jeff, will you (at least) notify the LTP project of this issue and
> need for a patch?

Sure. I'll send that out tonight or tomorrow morning.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHJ9U5LPWxlyuTD7IRArcqAJ4hGnSf0Z67sLJJ6OU4t72VFodPnQCbBwHw
Usml2lnHxuwyXpXvjwlTbaI=
=ss6E
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/