projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: stream_open - opener for stream-like files so that read and write can run simulta...
[linux-block.git]
/
drivers
/
xen
/
xenbus
/
xenbus_dev_frontend.c
diff --git
a/drivers/xen/xenbus/xenbus_dev_frontend.c
b/drivers/xen/xenbus/xenbus_dev_frontend.c
index c3e201025ef015b49703cf311e71f1d1f041ec6e..0782ff3c227352e7b92b595960cc62aee5c2c4ce 100644
(file)
--- a/
drivers/xen/xenbus/xenbus_dev_frontend.c
+++ b/
drivers/xen/xenbus/xenbus_dev_frontend.c
@@
-622,9
+622,7
@@
static int xenbus_file_open(struct inode *inode, struct file *filp)
if (xen_store_evtchn == 0)
return -ENOENT;
- nonseekable_open(inode, filp);
-
- filp->f_mode &= ~FMODE_ATOMIC_POS; /* cdev-style semantics */
+ stream_open(inode, filp);
u = kzalloc(sizeof(*u), GFP_KERNEL);
if (u == NULL)