All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ovl: fix working on distributed fs as lower layer
@ 2016-01-31 13:22 Konstantin Khlebnikov
  2016-02-18  7:56 ` Nikolay Borisov
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Khlebnikov @ 2016-01-31 13:22 UTC (permalink / raw)
  To: linux-fsdevel, linux-unionfs, Miklos Szeredi; +Cc: linux-kernel, Alexander Viro

This adds missing .d_select_inode into alternative dentry_operations.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer")
Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
---
 fs/overlayfs/super.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index e6ae59c7119c..1a354840f262 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -343,6 +343,7 @@ static const struct dentry_operations ovl_dentry_operations = {
 
 static const struct dentry_operations ovl_reval_dentry_operations = {
 	.d_release = ovl_dentry_release,
+	.d_select_inode = ovl_d_select_inode,
 	.d_revalidate = ovl_dentry_revalidate,
 	.d_weak_revalidate = ovl_dentry_weak_revalidate,
 };

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

* Re: [PATCH] ovl: fix working on distributed fs as lower layer
  2016-01-31 13:22 [PATCH] ovl: fix working on distributed fs as lower layer Konstantin Khlebnikov
@ 2016-02-18  7:56 ` Nikolay Borisov
  2016-03-02 14:18   ` Miklos Szeredi
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolay Borisov @ 2016-02-18  7:56 UTC (permalink / raw)
  To: Konstantin Khlebnikov, linux-fsdevel, linux-unionfs, Miklos Szeredi
  Cc: linux-kernel, Alexander Viro



On 01/31/2016 03:22 PM, Konstantin Khlebnikov wrote:
> This adds missing .d_select_inode into alternative dentry_operations.
> 
> Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
> Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer")
> Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
> ---
>  fs/overlayfs/super.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
> index e6ae59c7119c..1a354840f262 100644
> --- a/fs/overlayfs/super.c
> +++ b/fs/overlayfs/super.c
> @@ -343,6 +343,7 @@ static const struct dentry_operations ovl_dentry_operations = {
>  
>  static const struct dentry_operations ovl_reval_dentry_operations = {
>  	.d_release = ovl_dentry_release,
> +	.d_select_inode = ovl_d_select_inode,
>  	.d_revalidate = ovl_dentry_revalidate,
>  	.d_weak_revalidate = ovl_dentry_weak_revalidate,
>  };

I wish I had seen this patch earlier than
https://marc.info/?l=linux-unionfs&m=145494313009959


Reviewed-by: Nikolay Borisov <kernel@kyup.com>
Tested-by: Nikolay Borisov <kernel@kyup.com>

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

* Re: [PATCH] ovl: fix working on distributed fs as lower layer
  2016-02-18  7:56 ` Nikolay Borisov
@ 2016-03-02 14:18   ` Miklos Szeredi
  0 siblings, 0 replies; 3+ messages in thread
From: Miklos Szeredi @ 2016-03-02 14:18 UTC (permalink / raw)
  To: Nikolay Borisov
  Cc: Konstantin Khlebnikov, Linux-Fsdevel, linux-unionfs,
	Kernel Mailing List, Alexander Viro

On Thu, Feb 18, 2016 at 8:56 AM, Nikolay Borisov <kernel@kyup.com> wrote:
>
>
> On 01/31/2016 03:22 PM, Konstantin Khlebnikov wrote:
>> This adds missing .d_select_inode into alternative dentry_operations.
>>
>> Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
>> Fixes: 7c03b5d45b8e ("ovl: allow distributed fs as lower layer")
>> Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
>> ---
>>  fs/overlayfs/super.c |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
>> index e6ae59c7119c..1a354840f262 100644
>> --- a/fs/overlayfs/super.c
>> +++ b/fs/overlayfs/super.c
>> @@ -343,6 +343,7 @@ static const struct dentry_operations ovl_dentry_operations = {
>>
>>  static const struct dentry_operations ovl_reval_dentry_operations = {
>>       .d_release = ovl_dentry_release,
>> +     .d_select_inode = ovl_d_select_inode,
>>       .d_revalidate = ovl_dentry_revalidate,
>>       .d_weak_revalidate = ovl_dentry_weak_revalidate,
>>  };
>
> I wish I had seen this patch earlier than
> https://marc.info/?l=linux-unionfs&m=145494313009959
>
>
> Reviewed-by: Nikolay Borisov <kernel@kyup.com>
> Tested-by: Nikolay Borisov <kernel@kyup.com>
>

Thanks for the patch, queued.

Miklos

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

end of thread, other threads:[~2016-03-02 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-31 13:22 [PATCH] ovl: fix working on distributed fs as lower layer Konstantin Khlebnikov
2016-02-18  7:56 ` Nikolay Borisov
2016-03-02 14:18   ` Miklos Szeredi

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.