All of lore.kernel.org
 help / color / mirror / Atom feed
* do_sys_name_to_handle on UBIFS
@ 2014-12-17 12:39 Umut Tezduyar Lindskog
  2014-12-19  2:17 ` hujianyang
  0 siblings, 1 reply; 3+ messages in thread
From: Umut Tezduyar Lindskog @ 2014-12-17 12:39 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi,

I have noticed that name_to_handle() system call is failing on UBIFS due to missing super_block.s_export_op. Is there a reason why this hasn’t been implemented on UBI?

Umut

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: do_sys_name_to_handle on UBIFS
  2014-12-17 12:39 do_sys_name_to_handle on UBIFS Umut Tezduyar Lindskog
@ 2014-12-19  2:17 ` hujianyang
  2014-12-19  7:15   ` Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: hujianyang @ 2014-12-19  2:17 UTC (permalink / raw)
  To: Umut Tezduyar Lindskog; +Cc: linux-mtd@lists.infradead.org

On 2014/12/17 20:39, Umut Tezduyar Lindskog wrote:
> Hi,
> 
> I have noticed that name_to_handle() system call is failing on UBIFS due to missing super_block.s_export_op. Is there a reason why this hasn’t been implemented on UBI?
> 

As I know, this *struct export_operations* is used for nfsd. But
NFS is not supported with UBIFS. So I guess this is the reason
why super_block.s_export_op is missing.

http://www.linux-mtd.infradead.org/faq/ubifs.html#L_nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: do_sys_name_to_handle on UBIFS
  2014-12-19  2:17 ` hujianyang
@ 2014-12-19  7:15   ` Richard Weinberger
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Weinberger @ 2014-12-19  7:15 UTC (permalink / raw)
  To: hujianyang; +Cc: linux-mtd@lists.infradead.org, Umut Tezduyar Lindskog

On Fri, Dec 19, 2014 at 3:17 AM, hujianyang <hujianyang@huawei.com> wrote:
> On 2014/12/17 20:39, Umut Tezduyar Lindskog wrote:
>> Hi,
>>
>> I have noticed that name_to_handle() system call is failing on UBIFS due to missing super_block.s_export_op. Is there a reason why this hasn’t been implemented on UBI?
>>
>
> As I know, this *struct export_operations* is used for nfsd. But
> NFS is not supported with UBIFS. So I guess this is the reason
> why super_block.s_export_op is missing.

This is correct. UBIFS is not exportable, so no handles for you. :-)

-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-19  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17 12:39 do_sys_name_to_handle on UBIFS Umut Tezduyar Lindskog
2014-12-19  2:17 ` hujianyang
2014-12-19  7:15   ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.