Re: [Tux3] [RFC] Refactor create_entry and find_entry to work with xattrs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <tux3@...>
Cc: OGAWA Hirofumi <hirofumi@...>
Date: Friday, December 12, 2008 - 6:21 am

On Friday 12 December 2008 01:56, OGAWA Hirofumi wrote:

Ah, I thought about that when you mentioned it earlier and forgot to
take care of it in my patch. Something like this:

loff_t tux_create_entry(struct inode *dir, const char *name, int len, inum_t inum, unsigned mode)
{
loff_t size = i_size_read(dir);
int err = _tux_create_entry(dir, name, len, inum, mode, &size);
i_size_write(dir, size);
return err;
}

Regards,

Daniel

_______________________________________________
Tux3 mailing list
Tux3@tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Tux3] Tux3 command interpreter, Daniel Phillips, (Mon Sep 1, 4:15 pm)
Re: [Tux3] [RFC] Refactor create_entry and find_entry to wor..., Daniel Phillips, (Fri Dec 12, 6:21 am)