After rmdir, the inode of the directory isn't cleared. This is because
the i_nlink filed of an empty directory is 2, and rmdir decreases this
by one leaving i_nlink = 1, which is incorrect.
The following patch fixes this, and also removes the superfluous
d_delete(), which is also called in
[EMAIL PROTECTED] wrote:
Hi all. I have a need to stretch a file (rapidly) to a new
allocated size, but do not want to actually write data by
the current machine at the current time (I just need there to
be allocated blocks).
Take a look at the function i wrote below. This works. But
i
Hello.
I sent similar email a few weeks ago but discussion ended without
any useful results if I rememeber well.
Quota in reiserfs is (and needs to be) accounted in bytes not in blocks.
I modified quota system to allow such thing so in kernel there's no
problem. But also 'quotacheck'