diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-07 00:17:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-08 01:57:28 +0200 |
commit | 2b579beec255d6589fabe51b60933d723630bcd4 (patch) | |
tree | 06c0899b0071ec7cc9b3761c185452fa2c6f243b /init | |
parent | [PATCH] create_workqueue_thread() signedness fix (diff) | |
download | linux-2b579beec255d6589fabe51b60933d723630bcd4.tar.xz linux-2b579beec255d6589fabe51b60933d723630bcd4.zip |
[PATCH] proc: link count fix
This patch fixes bug titled "sunrpc as module and bad proc/sys link count"
reported by Jiri Slaby.
The problem was, that only proc_dir_entry->nlink was updated and the
corresponding inode->i_nlink was not. The fix is to implement the
inode->getattr() method, and update i_nlink (if necessary).
A quick audit of proc code shows that no other attribute changes after
creation.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions