diff options
author | Maxim Shchetynin <maxim@de.ibm.com> | 2008-04-02 00:12:20 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-03 22:11:11 +1100 |
commit | 7484839850d826e14b8b024bb048dca8489140ae (patch) | |
tree | 1fefb0a1417996a5db9de794dd344d7173bbc078 /mm/quicklist.c | |
parent | b991f05f1326fd9e6212851d0f2099875906dd16 (diff) |
[POWERPC] Fix rtas_flash procfs interface
Handling of the proc_dir_entry->count was changed in 2.6.24-rc5.
After this change, the default value for pde->count is 1 and not 0 as
before. Therefore, if we want to check whether our procfs file is
already opened (already in use), we have to check if pde->count is
greater than 2 rather than 1.
Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions