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

* Re: beginners project: RENAME_EXCHANGE
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Maiolino @ 2014-09-23  3:43 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs

Hi, for some time I don't work on anything upstream due being very busy with
another stuff, I'm interested in take this project if nobody has objections

On Mon, Sep 22, 2014 at 10:35:45AM -0700, Christoph Hellwig wrote:
> 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

-- 
Carlos

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: beginners project: RENAME_EXCHANGE
  2014-09-23  3:43 ` Carlos Maiolino
@ 2014-09-25 15:56   ` Christoph Hellwig
  2014-09-25 16:09     ` Carlos Maiolino
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2014-09-25 15:56 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: xfs

On Tue, Sep 23, 2014 at 12:43:52AM -0300, Carlos Maiolino wrote:
> Hi, for some time I don't work on anything upstream due being very busy with
> another stuff, I'm interested in take this project if nobody has objections

I don't think you still qualify as beginner :)  Joking aside:  I'd love
you take on this one!

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: beginners project: RENAME_EXCHANGE
  2014-09-25 15:56   ` Christoph Hellwig
@ 2014-09-25 16:09     ` Carlos Maiolino
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Maiolino @ 2014-09-25 16:09 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs

On Thu, Sep 25, 2014 at 08:56:04AM -0700, Christoph Hellwig wrote:
> On Tue, Sep 23, 2014 at 12:43:52AM -0300, Carlos Maiolino wrote:
> > Hi, for some time I don't work on anything upstream due being very busy with
> > another stuff, I'm interested in take this project if nobody has objections
> 
> I don't think you still qualify as beginner :)  Joking aside:  I'd love
> you take on this one!
> 
 :) I'm a bit rusty with upstream stuff, so, good way to get myself involved
again.
Will work on that soon.

Cheers

> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

-- 
Carlos

_______________________________________________
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