summaryrefslogtreecommitdiff
path: root/linux-core/mmfs_drv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-04-23 13:06:58 -0700
committerEric Anholt <eric@anholt.net>2008-04-23 14:25:54 -0700
commit8c741ed54e1be63528e79222b600f37506c6d6d2 (patch)
tree1ae6b5b05386e36935d3be808092420b3df5e8e4 /linux-core/mmfs_drv.h
parentc1fec43b553ea93460b58995a1229e84d8bb45b4 (diff)
Add pread/pwrite ioctls to mmfs.
Diffstat (limited to 'linux-core/mmfs_drv.h')
-rw-r--r--linux-core/mmfs_drv.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/linux-core/mmfs_drv.h b/linux-core/mmfs_drv.h
index 1944d2af..53d2f6cb 100644
--- a/linux-core/mmfs_drv.h
+++ b/linux-core/mmfs_drv.h
@@ -54,11 +54,8 @@ struct mmfs_object {
struct mmfs_file {
/** Mapping of object handles to object pointers. */
struct idr object_idr;
- /**
- * Lock for synchronization of access to object->refcount and
- * object_idr. See note in mmfs_unreference_ioctl.
- */
- spinlock_t delete_lock;
+ /** Lock for synchronization of access to object_idr. */
+ spinlock_t table_lock;
};
void mmfs_object_reference(struct mmfs_object *obj);