Re: [XFS] Do not inherit properties for the quota inodes from the root inode.

From: Nathan Scott
Date: Thu Jan 12 2006 - 16:14:35 EST


Hi Chris,

On Thu, Jan 12, 2006 at 12:43:36PM -0800, Chris Wedgwood wrote:
> > [XFS] Do not inherit properties for the quota inodes from the root inode.
>
> lots of whitespace changes... :)

If by "lots" you mean "one line", then yes!

> >
> > - if ((error = xfs_dir_ialloc(&tp, mp->m_rootip, S_IFREG, 1, 0,
> > + if ((error = xfs_dir_ialloc(&tp, &zeroino, S_IFREG, 1, 0,
> > &zerocr, 0, 1, ip, &committed))) {
> > xfs_trans_cancel(tp, XFS_TRANS_RELEASE_LOG_RES |
> > XFS_TRANS_ABORT);
>
> why would you want to do this at all?

I'm not sure what you're asking? There are things we do not
want to inherit from the root inode (certain inode flags in
particular) when the quota inodes are being created... does
that help?

cheers.

--
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/