From: Christoph Hellwig <hch@infradead.org>
To: xfs@oss.sgi.com
Subject: beginners project: RENAME_EXCHANGE
Date: Mon, 22 Sep 2014 10:35:45 -0700 [thread overview]
Message-ID: <20140922173545.GA20308@infradead.org> (raw)
As people are looking for beginners projects one in a while there's
an easy one at the moment: implement support for the RENAME_EXCHANGE
flag to the renameat2 system call, which swaps the names for two
existing files. Documentation here:
http://man7.org/linux/man-pages/man2/rename.2.html
This should mostly be doable by refactoring (or more likely copy &
pasting) the existing rename implementation. xfstests already has test
case for it, although making sure they covering everything would be a
nice extrea.
(if no one replies to the list I will add it to the wiki after a while)
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2014-09-22 17:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 17:35 Christoph Hellwig [this message]
2014-09-23 3:43 ` beginners project: RENAME_EXCHANGE Carlos Maiolino
2014-09-25 15:56 ` Christoph Hellwig
2014-09-25 16:09 ` Carlos Maiolino
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=20140922173545.GA20308@infradead.org \
--to=hch@infradead.org \
--cc=xfs@oss.sgi.com \
/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