lkml.org 
[lkml]   [2009]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 31 Mar 2009 14:44:02 -0400
FromChristoph Hellwig <>
SubjectRe: [patch 18/35 xattr-rework] reiserfs: Clean up xattrs when REISERFS_FS_XATTR is unset
On Mon, Mar 30, 2009 at 02:02:33PM -0400, Jeff Mahoney wrote:
> The current reiserfs xattr implementation will not clean up old xattr
> files if files are deleted when REISERFS_FS_XATTR is unset. This results
> in inaccessible lost files, wasting space.
>
> This patch compiles in basic xattr knowledge, such as how to delete them and
> change ownership for quota tracking. If the file system has never used
> xattrs, then the operation is quite fast: it returns immediately when
> it sees there is no .reiserfs_priv directory.

What about just making xattr suppose unconditional? That's what most
never filesystems do, and it really shouldn't be a whole lot of code.



\
 
 \ /
  Last update: 2009-03-31 20:55    [from the cache]
©2003-2010