Sven Schnelle 5214b729e1 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 <svens@stackframe.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-28 14:45:21 -07:00
..
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2007-04-26 15:49:28 -07:00
2007-10-17 08:42:50 -07:00
2008-03-28 14:45:21 -07:00
2007-10-17 08:42:50 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2008-02-07 08:42:26 -08:00
2007-10-17 08:42:50 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:43 -07:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:42:50 -07:00
2008-02-08 09:22:39 -08:00
2007-04-26 15:57:07 -07:00
2007-11-05 15:12:32 -08:00
2007-07-16 09:05:43 -07:00
2007-05-21 09:18:19 -07:00
2007-10-17 08:42:55 -07:00