]> git.neil.brown.name Git - history.git/commit
[PATCH] stat nlink resolution fix
authorChris Wedgwood <cw@f00f.org>
Mon, 14 Jun 2004 16:01:29 +0000 (09:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 14 Jun 2004 16:01:29 +0000 (09:01 -0700)
commit5b2785a167df52499abd52accdcb3a4c9d74451c
tree46b7fe75d03048f3e4b056c84e00c14a1717188e
parent2f3600ceb38a78a9d7c050ab5250d378f7490c56
[PATCH] stat nlink resolution fix

Some filesystems can get overflows when their link-count exceeds
65534.  This patch increases the kernels internal resolution for this
and also has a check for the old-system call paths to return and error
(-EOVERFLOW) as required (as suggested by Al Viro).

Signed-off-by: Chris Wedgwood <cw@f00f.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/stat.c
include/linux/stat.h