public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* beginners project: RENAME_EXCHANGE
@ 2014-09-22 17:35 Christoph Hellwig
  2014-09-23  3:43 ` Carlos Maiolino
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2014-09-22 17:35 UTC (permalink / raw)
  To: xfs

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

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

end of thread, other threads:[~2014-09-25 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 17:35 beginners project: RENAME_EXCHANGE Christoph Hellwig
2014-09-23  3:43 ` Carlos Maiolino
2014-09-25 15:56   ` Christoph Hellwig
2014-09-25 16:09     ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox