Re: [PATCH] cifs: add mount option to handle stat() failures by 32-bit apps

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

 



On Tue, Jan 11, 2011 at 4:53 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Tue, Jan 11, 2011 at 04:10:37PM +0530, Suresh Jayaraman wrote:
>> ..compiled without LFS support, but running on 64-bit kernel.
>>
>> Currently, when a broken (compiled without LFS support) 32-bit application on
>> a 64-bit kernel tries to do a stat(), it fails with -EOVERFLOW error. This
>> problem happens because the 32-bit application is unable to fit the huge
>> 64-bit inode number in its target structure field.
>
> This is nothing cifs specific.  Please do it in a generic way (e.g.
> sysctl) in the VFS.

Makes sense.  generic sysctl probably fine.



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux