linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] fs: export d_exchange for the fs with FS_RENAME_DOSE_D_MOVE
@ 2015-09-03  9:12 xuw2015
  2015-09-03  9:12 ` [PATCH 2/2] ovl: ovl_rename2 should do d_move by itself xuw2015
  0 siblings, 1 reply; 2+ messages in thread
From: xuw2015 @ 2015-09-03  9:12 UTC (permalink / raw)
  To: linux-unionfs, linux-fsdevel; +Cc: Geroge Wang

From: Geroge Wang <xuw2015@gmail.com>

d_move is exported for specified file systems, we should export
d_exchange also.

Signed-off-by: George Wang <xuw2015@gmail.com>
---
 fs/dcache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/dcache.c b/fs/dcache.c
index 9b5fe50..a6de9b0 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2694,6 +2694,7 @@ void d_exchange(struct dentry *dentry1, struct dentry *dentry2)
 
 	write_sequnlock(&rename_lock);
 }
+EXPORT_SYMBOL(d_exchange);
 
 /**
  * d_ancestor - search for an ancestor
-- 
1.8.3.1


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

end of thread, other threads:[~2015-09-03  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03  9:12 [PATCH 1/2] fs: export d_exchange for the fs with FS_RENAME_DOSE_D_MOVE xuw2015
2015-09-03  9:12 ` [PATCH 2/2] ovl: ovl_rename2 should do d_move by itself xuw2015

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).