From: xuw2015@gmail.com
To: linux-unionfs@vger.kernel.org, linux-fsdevel@vger.kernel.org
Cc: Geroge Wang <xuw2015@gmail.com>
Subject: [PATCH 1/2] fs: export d_exchange for the fs with FS_RENAME_DOSE_D_MOVE
Date: Thu, 3 Sep 2015 17:12:11 +0800 [thread overview]
Message-ID: <1441271532-10386-1-git-send-email-xuw2015@gmail.com> (raw)
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
next reply other threads:[~2015-09-03 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 9:12 xuw2015 [this message]
2015-09-03 9:12 ` [PATCH 2/2] ovl: ovl_rename2 should do d_move by itself xuw2015
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441271532-10386-1-git-send-email-xuw2015@gmail.com \
--to=xuw2015@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-unionfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).