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
..
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:39 -08:00
2008-03-28 14:45:21 -07:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-03-22 22:57:44 +00:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 09:22:40 -08:00
2008-02-21 15:19:54 -06:00
2007-10-22 08:13:21 -07:00
2008-02-08 09:22:40 -08:00
2008-02-08 09:22:40 -08:00
2008-02-23 17:12:13 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-03-19 06:42:18 -04:00
2008-03-19 18:53:36 -07:00
2008-02-08 09:22:40 -08:00
2007-10-18 14:37:31 -07:00
2008-02-13 16:21:20 -08:00
2008-03-04 16:35:10 -08:00
2008-03-17 21:14:40 +01:00
2008-01-30 13:31:46 +01:00
2008-02-05 09:44:07 -08:00
2008-02-14 21:13:33 -08:00
2008-02-06 10:41:07 -08:00
2008-02-05 14:37:15 -08:00
2008-03-19 18:53:36 -07:00
2008-01-30 13:31:46 +01:00
2008-02-14 21:13:33 -08:00
2008-03-19 06:54:05 -04:00
2008-02-06 10:41:02 -08:00
2008-02-14 21:13:33 -08:00
2008-02-05 09:44:07 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00