diff options
| author | Sven Schnelle <[email protected]> | 2008-03-28 21:15:55 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-03-28 21:45:21 +0000 |
| commit | 5214b729e1c2dc3af8f55e6c4c548844c3bea0f5 (patch) | |
| tree | 8838edf8e3d4068c41816d7b17c63849318ceb93 /drivers/misc/ibmasm/module.c | |
| parent | afs: add a MAINTAINERS record for AFS (diff) | |
| download | kernel-5214b729e1c2dc3af8f55e6c4c548844c3bea0f5.tar.gz kernel-5214b729e1c2dc3af8f55e6c4c548844c3bea0f5.zip | |
afs: prevent double cell registration
kafs doesn't check if the cell already exists - so if you do an echo "add
newcell.org 1.2.3.4" >/proc/fs/afs/cells it will try to create this cell
again. kobject will also complain about a double registration. To prevent
such problems, return -EEXIST in that case.
Signed-off-by: Sven Schnelle <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions
