[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] file_operations in sdp.c



I've checked back as far as the 2.2.14 kernel version, and see this in fs.h
under file_operations:

 ssize_t (*read) (struct file *, char *, size_t, loff_t *);
 ssize_t (*write) (struct file *, const char *, size_t, loff_t *);

Are these based on an older kernel version (in the latest sdp.c)?

s32 sdp_database_read(struct inode *inode, struct file * file, char * buf, int
count)
s32 sdp_database_write(struct inode *inode, struct file * file, const char *
buf, int count)

In particular, the inode pointer as the first and the lack of an offset as the
last...

--Gordon

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com