linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] afs: simplify sget_fc() call
@ 2021-07-26 20:22 Luis Chamberlain
  2021-10-22 23:15 ` Luis Chamberlain
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Chamberlain @ 2021-07-26 20:22 UTC (permalink / raw)
  To: dhowells, neilb; +Cc: linux-afs, linux-kernel, Luis Chamberlain

We can just use set_anon_super_fc(), no need for our own
custom implementation of something we already have available.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---
 fs/afs/super.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/fs/afs/super.c b/fs/afs/super.c
index e38bb1e7a4d2..b6d044913a0f 100644
--- a/fs/afs/super.c
+++ b/fs/afs/super.c
@@ -434,11 +434,6 @@ static int afs_dynroot_test_super(struct super_block *sb, struct fs_context *fc)
 		as->dyn_root);
 }
 
-static int afs_set_super(struct super_block *sb, struct fs_context *fc)
-{
-	return set_anon_super(sb, NULL);
-}
-
 /*
  * fill in the superblock
  */
@@ -575,7 +570,7 @@ static int afs_get_tree(struct fs_context *fc)
 	/* allocate a deviceless superblock */
 	sb = sget_fc(fc,
 		     as->dyn_root ? afs_dynroot_test_super : afs_test_super,
-		     afs_set_super);
+		     set_anon_super_fc);
 	if (IS_ERR(sb)) {
 		ret = PTR_ERR(sb);
 		goto error;
-- 
2.30.2


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

* Re: [PATCH] afs: simplify sget_fc() call
  2021-07-26 20:22 [PATCH] afs: simplify sget_fc() call Luis Chamberlain
@ 2021-10-22 23:15 ` Luis Chamberlain
  2021-11-05 16:05   ` Luis Chamberlain
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Chamberlain @ 2021-10-22 23:15 UTC (permalink / raw)
  To: dhowells, neilb; +Cc: linux-afs, linux-kernel

On Mon, Jul 26, 2021 at 01:22:53PM -0700, Luis Chamberlain wrote:
> We can just use set_anon_super_fc(), no need for our own
> custom implementation of something we already have available.
> 
> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>

*poke*

 Luis

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

* Re: [PATCH] afs: simplify sget_fc() call
  2021-10-22 23:15 ` Luis Chamberlain
@ 2021-11-05 16:05   ` Luis Chamberlain
  0 siblings, 0 replies; 3+ messages in thread
From: Luis Chamberlain @ 2021-11-05 16:05 UTC (permalink / raw)
  To: dhowells, neilb, Andrew Morton; +Cc: linux-afs, linux-kernel

On Fri, Oct 22, 2021 at 04:15:24PM -0700, Luis Chamberlain wrote:
> On Mon, Jul 26, 2021 at 01:22:53PM -0700, Luis Chamberlain wrote:
> > We can just use set_anon_super_fc(), no need for our own
> > custom implementation of something we already have available.
> > 
> > Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
> 
> *poke*

*re-poke*

  Luis

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

end of thread, other threads:[~2021-11-05 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 20:22 [PATCH] afs: simplify sget_fc() call Luis Chamberlain
2021-10-22 23:15 ` Luis Chamberlain
2021-11-05 16:05   ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).