summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2008-03-28 22:15:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-28 22:45:21 +0100
commit5214b729e1c2dc3af8f55e6c4c548844c3bea0f5 (patch)
tree8838edf8e3d4068c41816d7b17c63849318ceb93 /fs/xfs/xfs_buf_item.h
parentafs: add a MAINTAINERS record for AFS (diff)
downloadlinux-5214b729e1c2dc3af8f55e6c4c548844c3bea0f5.tar.xz
linux-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 <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>
Diffstat (limited to 'fs/xfs/xfs_buf_item.h')
0 files changed, 0 insertions, 0 deletions