Re: [PATCH] cifs: don't instantiate new dentries in readdir for inodes that need to be revalidated immediately

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 08.08.2013 17:33, schrieb Steve French:
On Thu, Aug 8, 2013 at 9:22 AM, Jeff Layton <jlayton@xxxxxxxxxx> wrote:
On Thu, 08 Aug 2013 16:05:44 +0200
Marcus Moeller <marcus.moeller@xxxxxx> wrote:

Am 07.08.2013 15:42, schrieb David McBride:
On 07/08/13 14:06, Jeff Layton wrote:

This patch is untested (other than for compilation), but I think it'll
do the right thing. Metze, David could you test it and let us know if
it helps?

Just to verify: could it be that mfsymlink is already broken in
3.9.6-301.fc19? At least links created with fedora 18 are no longer
readable there. Newly created links seems to work fine (at least till now).

Greets
Marcus


Yes, 3.9.6 has the patch that broke it.

What matters is how the (in memory) inode is created after mounting. If
you first run across an mfsymlink with a readdir() call, then you'll
get an inode that's "stuck" as a regular file. If you instead do
something like stat() it before ever running a readdir over the
containing directory, it should work just fine.

This patch probably is probably reasonable for stable, given that the
original one also went there.

Steve, want to mark as such?

@Jeff, could you please do me a favor and let me know, when this is stable/made it to Fedora, as we are in need of that patch.

Thanks
Marcus


Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux