Re: Leaked POSIX lock warning and crash

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

 



On Tue, Jul 10, 2018 at 8:18 AM, Eddie Horng <eddiehorng.tw@xxxxxxxxx> wrote:
> 2018-07-10 0:08 GMT+08:00 Amir Goldstein <amir73il@xxxxxxxxx>:
>> Well, Miklos' changes should make it "just work".
>>
>> However, I audited the file_inode() instances in nfsd/lockd and
>> the following "patch" may "just as well work":
>>
>> sed -i 's/\<file_inode\>/locks_inode/g' fs/nfsd/nfs4state.c
>> include/linux/lockd/lockd.h fs/lockd/*.c
>>
>> Eddie,
>>
>> Will you give this a try?
>> If it work I will post it for v4.18 and for stable.
>>
>
> This sed replacement patch works like a charm, based on v4.18 with
> the patch, there's no Leaked message nor lock failure any more through
> android builds.
>

Cool. I'll send out a proper patch.

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



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux