git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] nbd: show nbd client pid in sysfs
[sfrench/cifs-2.6.git]
/
include
/
linux
/
nbd.h
diff --git
a/include/linux/nbd.h
b/include/linux/nbd.h
index d6b6dc09ad972d9f844da2e64d765d254ee8f87f..0f3e69302540d71222d61fa22e2fbdbd2706aae9 100644
(file)
--- a/
include/linux/nbd.h
+++ b/
include/linux/nbd.h
@@
-64,6
+64,7
@@
struct nbd_device {
struct gendisk *disk;
int blksize;
u64 bytesize;
+ pid_t pid; /* pid of nbd-client, if attached */
};
#endif