[Bugs] [Bug 1267464] quota: restrict creating hard-links across quota limit directories
bugzilla at redhat.com
bugzilla at redhat.com
Wed Oct 7 09:05:57 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1267464
Manikandan <mselvaga at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |CLOSED
Resolution|--- |WONTFIX
Last Closed| |2015-10-07 05:05:57
--- Comment #1 from Manikandan <mselvaga at redhat.com> ---
This cannot be implemented in the current quota design:
Consider below scenario
Case-1)
a) below data with hard-links pre-exists
/d1/f1
/d2/f1
b) Set quota limit on /d1 and /d2
c) Now when creating hard-link /d1/f1 /d1/f2 can fail
As we do fetch the inode_parent of f1 (f1's parent can be /d1 or /d2 in the
dentry list)
Case-2)
a) Set quota limit on /d1 and /d2
b) create file /d1/f1 and link /d1/f2
c) rename /d1/f2 /d2/f2
d) Now when creating hard-link /d1/f1 /d1/f2 can fail
As we do fetch the inode_parent of f1 (f1's parent can be /d1 or /d2 in the
dentry list)
So marking the bug as wontfix
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=1hQHrEjXap&a=cc_unsubscribe
More information about the Bugs
mailing list