v9fs.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. /*
  2. * linux/fs/9p/v9fs.c
  3. *
  4. * This file contains functions assisting in mapping VFS to 9P2000
  5. *
  6. * Copyright (C) 2004-2008 by Eric Van Hensbergen <ericvh@gmail.com>
  7. * Copyright (C) 2002 by Ron Minnich <rminnich@lanl.gov>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2
  11. * as published by the Free Software Foundation.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to:
  20. * Free Software Foundation
  21. * 51 Franklin Street, Fifth Floor
  22. * Boston, MA 02111-1301 USA
  23. *
  24. */
  25. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  26. #include <linux/module.h>
  27. #include <linux/errno.h>
  28. #include <linux/fs.h>
  29. #include <linux/sched.h>
  30. #include <linux/parser.h>
  31. #include <linux/idr.h>
  32. #include <linux/slab.h>
  33. #include <net/9p/9p.h>
  34. #include <net/9p/client.h>
  35. #include <net/9p/transport.h>
  36. #include "v9fs.h"
  37. #include "v9fs_vfs.h"
  38. #include "cache.h"
  39. static DEFINE_SPINLOCK(v9fs_sessionlist_lock);
  40. static LIST_HEAD(v9fs_sessionlist);
  41. struct kmem_cache *v9fs_inode_cache;
  42. /*
  43. * Option Parsing (code inspired by NFS code)
  44. * NOTE: each transport will parse its own options
  45. */
  46. enum {
  47. /* Options that take integer arguments */
  48. Opt_debug, Opt_dfltuid, Opt_dfltgid, Opt_afid,
  49. /* String options */
  50. Opt_uname, Opt_remotename, Opt_cache, Opt_cachetag,
  51. /* Options that take no arguments */
  52. Opt_nodevmap,
  53. /* Cache options */
  54. Opt_cache_loose, Opt_fscache, Opt_mmap,
  55. /* Access options */
  56. Opt_access, Opt_posixacl,
  57. /* Error token */
  58. Opt_err
  59. };
  60. static const match_table_t tokens = {
  61. {Opt_debug, "debug=%x"},
  62. {Opt_dfltuid, "dfltuid=%u"},
  63. {Opt_dfltgid, "dfltgid=%u"},
  64. {Opt_afid, "afid=%u"},
  65. {Opt_uname, "uname=%s"},
  66. {Opt_remotename, "aname=%s"},
  67. {Opt_nodevmap, "nodevmap"},
  68. {Opt_cache, "cache=%s"},
  69. {Opt_cache_loose, "loose"},
  70. {Opt_fscache, "fscache"},
  71. {Opt_mmap, "mmap"},
  72. {Opt_cachetag, "cachetag=%s"},
  73. {Opt_access, "access=%s"},
  74. {Opt_posixacl, "posixacl"},
  75. {Opt_err, NULL}
  76. };
  77. /* Interpret mount options for cache mode */
  78. static int get_cache_mode(char *s)
  79. {
  80. int version = -EINVAL;
  81. if (!strcmp(s, "loose")) {
  82. version = CACHE_LOOSE;
  83. p9_debug(P9_DEBUG_9P, "Cache mode: loose\n");
  84. } else if (!strcmp(s, "fscache")) {
  85. version = CACHE_FSCACHE;
  86. p9_debug(P9_DEBUG_9P, "Cache mode: fscache\n");
  87. } else if (!strcmp(s, "mmap")) {
  88. version = CACHE_MMAP;
  89. p9_debug(P9_DEBUG_9P, "Cache mode: mmap\n");
  90. } else if (!strcmp(s, "none")) {
  91. version = CACHE_NONE;
  92. p9_debug(P9_DEBUG_9P, "Cache mode: none\n");
  93. } else
  94. pr_info("Unknown Cache mode %s\n", s);
  95. return version;
  96. }
  97. /**
  98. * v9fs_parse_options - parse mount options into session structure
  99. * @v9ses: existing v9fs session information
  100. *
  101. * Return 0 upon success, -ERRNO upon failure.
  102. */
  103. static int v9fs_parse_options(struct v9fs_session_info *v9ses, char *opts)
  104. {
  105. char *options, *tmp_options;
  106. substring_t args[MAX_OPT_ARGS];
  107. char *p;
  108. int option = 0;
  109. char *s, *e;
  110. int ret = 0;
  111. /* setup defaults */
  112. v9ses->afid = ~0;
  113. v9ses->debug = 0;
  114. v9ses->cache = CACHE_NONE;
  115. #ifdef CONFIG_9P_FSCACHE
  116. v9ses->cachetag = NULL;
  117. #endif
  118. if (!opts)
  119. return 0;
  120. tmp_options = kstrdup(opts, GFP_KERNEL);
  121. if (!tmp_options) {
  122. ret = -ENOMEM;
  123. goto fail_option_alloc;
  124. }
  125. options = tmp_options;
  126. while ((p = strsep(&options, ",")) != NULL) {
  127. int token, r;
  128. if (!*p)
  129. continue;
  130. token = match_token(p, tokens, args);
  131. switch (token) {
  132. case Opt_debug:
  133. r = match_int(&args[0], &option);
  134. if (r < 0) {
  135. p9_debug(P9_DEBUG_ERROR,
  136. "integer field, but no integer?\n");
  137. ret = r;
  138. continue;
  139. }
  140. v9ses->debug = option;
  141. #ifdef CONFIG_NET_9P_DEBUG
  142. p9_debug_level = option;
  143. #endif
  144. break;
  145. case Opt_dfltuid:
  146. r = match_int(&args[0], &option);
  147. if (r < 0) {
  148. p9_debug(P9_DEBUG_ERROR,
  149. "integer field, but no integer?\n");
  150. ret = r;
  151. continue;
  152. }
  153. v9ses->dfltuid = make_kuid(current_user_ns(), option);
  154. if (!uid_valid(v9ses->dfltuid)) {
  155. p9_debug(P9_DEBUG_ERROR,
  156. "uid field, but not a uid?\n");
  157. ret = -EINVAL;
  158. continue;
  159. }
  160. break;
  161. case Opt_dfltgid:
  162. r = match_int(&args[0], &option);
  163. if (r < 0) {
  164. p9_debug(P9_DEBUG_ERROR,
  165. "integer field, but no integer?\n");
  166. ret = r;
  167. continue;
  168. }
  169. v9ses->dfltgid = make_kgid(current_user_ns(), option);
  170. if (!gid_valid(v9ses->dfltgid)) {
  171. p9_debug(P9_DEBUG_ERROR,
  172. "gid field, but not a gid?\n");
  173. ret = -EINVAL;
  174. continue;
  175. }
  176. break;
  177. case Opt_afid:
  178. r = match_int(&args[0], &option);
  179. if (r < 0) {
  180. p9_debug(P9_DEBUG_ERROR,
  181. "integer field, but no integer?\n");
  182. ret = r;
  183. continue;
  184. }
  185. v9ses->afid = option;
  186. break;
  187. case Opt_uname:
  188. kfree(v9ses->uname);
  189. v9ses->uname = match_strdup(&args[0]);
  190. if (!v9ses->uname) {
  191. ret = -ENOMEM;
  192. goto free_and_return;
  193. }
  194. break;
  195. case Opt_remotename:
  196. kfree(v9ses->aname);
  197. v9ses->aname = match_strdup(&args[0]);
  198. if (!v9ses->aname) {
  199. ret = -ENOMEM;
  200. goto free_and_return;
  201. }
  202. break;
  203. case Opt_nodevmap:
  204. v9ses->nodev = 1;
  205. break;
  206. case Opt_cache_loose:
  207. v9ses->cache = CACHE_LOOSE;
  208. break;
  209. case Opt_fscache:
  210. v9ses->cache = CACHE_FSCACHE;
  211. break;
  212. case Opt_mmap:
  213. v9ses->cache = CACHE_MMAP;
  214. break;
  215. case Opt_cachetag:
  216. #ifdef CONFIG_9P_FSCACHE
  217. v9ses->cachetag = match_strdup(&args[0]);
  218. #endif
  219. break;
  220. case Opt_cache:
  221. s = match_strdup(&args[0]);
  222. if (!s) {
  223. ret = -ENOMEM;
  224. p9_debug(P9_DEBUG_ERROR,
  225. "problem allocating copy of cache arg\n");
  226. goto free_and_return;
  227. }
  228. ret = get_cache_mode(s);
  229. if (ret == -EINVAL) {
  230. kfree(s);
  231. goto free_and_return;
  232. }
  233. v9ses->cache = ret;
  234. kfree(s);
  235. break;
  236. case Opt_access:
  237. s = match_strdup(&args[0]);
  238. if (!s) {
  239. ret = -ENOMEM;
  240. p9_debug(P9_DEBUG_ERROR,
  241. "problem allocating copy of access arg\n");
  242. goto free_and_return;
  243. }
  244. v9ses->flags &= ~V9FS_ACCESS_MASK;
  245. if (strcmp(s, "user") == 0)
  246. v9ses->flags |= V9FS_ACCESS_USER;
  247. else if (strcmp(s, "any") == 0)
  248. v9ses->flags |= V9FS_ACCESS_ANY;
  249. else if (strcmp(s, "client") == 0) {
  250. v9ses->flags |= V9FS_ACCESS_CLIENT;
  251. } else {
  252. uid_t uid;
  253. v9ses->flags |= V9FS_ACCESS_SINGLE;
  254. uid = simple_strtoul(s, &e, 10);
  255. if (*e != '\0') {
  256. ret = -EINVAL;
  257. pr_info("Unknown access argument %s\n",
  258. s);
  259. kfree(s);
  260. goto free_and_return;
  261. }
  262. v9ses->uid = make_kuid(current_user_ns(), uid);
  263. if (!uid_valid(v9ses->uid)) {
  264. ret = -EINVAL;
  265. pr_info("Uknown uid %s\n", s);
  266. kfree(s);
  267. goto free_and_return;
  268. }
  269. }
  270. kfree(s);
  271. break;
  272. case Opt_posixacl:
  273. #ifdef CONFIG_9P_FS_POSIX_ACL
  274. v9ses->flags |= V9FS_POSIX_ACL;
  275. #else
  276. p9_debug(P9_DEBUG_ERROR,
  277. "Not defined CONFIG_9P_FS_POSIX_ACL. Ignoring posixacl option\n");
  278. #endif
  279. break;
  280. default:
  281. continue;
  282. }
  283. }
  284. free_and_return:
  285. kfree(tmp_options);
  286. fail_option_alloc:
  287. return ret;
  288. }
  289. /**
  290. * v9fs_session_init - initialize session
  291. * @v9ses: session information structure
  292. * @dev_name: device being mounted
  293. * @data: options
  294. *
  295. */
  296. struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses,
  297. const char *dev_name, char *data)
  298. {
  299. struct p9_fid *fid;
  300. int rc = -ENOMEM;
  301. v9ses->uname = kstrdup(V9FS_DEFUSER, GFP_KERNEL);
  302. if (!v9ses->uname)
  303. goto err_names;
  304. v9ses->aname = kstrdup(V9FS_DEFANAME, GFP_KERNEL);
  305. if (!v9ses->aname)
  306. goto err_names;
  307. init_rwsem(&v9ses->rename_sem);
  308. rc = bdi_setup_and_register(&v9ses->bdi, "9p");
  309. if (rc)
  310. goto err_names;
  311. v9ses->uid = INVALID_UID;
  312. v9ses->dfltuid = V9FS_DEFUID;
  313. v9ses->dfltgid = V9FS_DEFGID;
  314. v9ses->clnt = p9_client_create(dev_name, data);
  315. if (IS_ERR(v9ses->clnt)) {
  316. rc = PTR_ERR(v9ses->clnt);
  317. p9_debug(P9_DEBUG_ERROR, "problem initializing 9p client\n");
  318. goto err_bdi;
  319. }
  320. v9ses->flags = V9FS_ACCESS_USER;
  321. if (p9_is_proto_dotl(v9ses->clnt)) {
  322. v9ses->flags = V9FS_ACCESS_CLIENT;
  323. v9ses->flags |= V9FS_PROTO_2000L;
  324. } else if (p9_is_proto_dotu(v9ses->clnt)) {
  325. v9ses->flags |= V9FS_PROTO_2000U;
  326. }
  327. rc = v9fs_parse_options(v9ses, data);
  328. if (rc < 0)
  329. goto err_clnt;
  330. v9ses->maxdata = v9ses->clnt->msize - P9_IOHDRSZ;
  331. if (!v9fs_proto_dotl(v9ses) &&
  332. ((v9ses->flags & V9FS_ACCESS_MASK) == V9FS_ACCESS_CLIENT)) {
  333. /*
  334. * We support ACCESS_CLIENT only for dotl.
  335. * Fall back to ACCESS_USER
  336. */
  337. v9ses->flags &= ~V9FS_ACCESS_MASK;
  338. v9ses->flags |= V9FS_ACCESS_USER;
  339. }
  340. /*FIXME !! */
  341. /* for legacy mode, fall back to V9FS_ACCESS_ANY */
  342. if (!(v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses)) &&
  343. ((v9ses->flags&V9FS_ACCESS_MASK) == V9FS_ACCESS_USER)) {
  344. v9ses->flags &= ~V9FS_ACCESS_MASK;
  345. v9ses->flags |= V9FS_ACCESS_ANY;
  346. v9ses->uid = INVALID_UID;
  347. }
  348. if (!v9fs_proto_dotl(v9ses) ||
  349. !((v9ses->flags & V9FS_ACCESS_MASK) == V9FS_ACCESS_CLIENT)) {
  350. /*
  351. * We support ACL checks on clinet only if the protocol is
  352. * 9P2000.L and access is V9FS_ACCESS_CLIENT.
  353. */
  354. v9ses->flags &= ~V9FS_ACL_MASK;
  355. }
  356. fid = p9_client_attach(v9ses->clnt, NULL, v9ses->uname, INVALID_UID,
  357. v9ses->aname);
  358. if (IS_ERR(fid)) {
  359. rc = PTR_ERR(fid);
  360. p9_debug(P9_DEBUG_ERROR, "cannot attach\n");
  361. goto err_clnt;
  362. }
  363. if ((v9ses->flags & V9FS_ACCESS_MASK) == V9FS_ACCESS_SINGLE)
  364. fid->uid = v9ses->uid;
  365. else
  366. fid->uid = INVALID_UID;
  367. #ifdef CONFIG_9P_FSCACHE
  368. /* register the session for caching */
  369. v9fs_cache_session_get_cookie(v9ses);
  370. #endif
  371. spin_lock(&v9fs_sessionlist_lock);
  372. list_add(&v9ses->slist, &v9fs_sessionlist);
  373. spin_unlock(&v9fs_sessionlist_lock);
  374. return fid;
  375. err_clnt:
  376. p9_client_destroy(v9ses->clnt);
  377. err_bdi:
  378. bdi_destroy(&v9ses->bdi);
  379. err_names:
  380. kfree(v9ses->uname);
  381. kfree(v9ses->aname);
  382. return ERR_PTR(rc);
  383. }
  384. /**
  385. * v9fs_session_close - shutdown a session
  386. * @v9ses: session information structure
  387. *
  388. */
  389. void v9fs_session_close(struct v9fs_session_info *v9ses)
  390. {
  391. if (v9ses->clnt) {
  392. p9_client_destroy(v9ses->clnt);
  393. v9ses->clnt = NULL;
  394. }
  395. #ifdef CONFIG_9P_FSCACHE
  396. if (v9ses->fscache) {
  397. v9fs_cache_session_put_cookie(v9ses);
  398. kfree(v9ses->cachetag);
  399. }
  400. #endif
  401. kfree(v9ses->uname);
  402. kfree(v9ses->aname);
  403. bdi_destroy(&v9ses->bdi);
  404. spin_lock(&v9fs_sessionlist_lock);
  405. list_del(&v9ses->slist);
  406. spin_unlock(&v9fs_sessionlist_lock);
  407. }
  408. /**
  409. * v9fs_session_cancel - terminate a session
  410. * @v9ses: session to terminate
  411. *
  412. * mark transport as disconnected and cancel all pending requests.
  413. */
  414. void v9fs_session_cancel(struct v9fs_session_info *v9ses) {
  415. p9_debug(P9_DEBUG_ERROR, "cancel session %p\n", v9ses);
  416. p9_client_disconnect(v9ses->clnt);
  417. }
  418. /**
  419. * v9fs_session_begin_cancel - Begin terminate of a session
  420. * @v9ses: session to terminate
  421. *
  422. * After this call we don't allow any request other than clunk.
  423. */
  424. void v9fs_session_begin_cancel(struct v9fs_session_info *v9ses)
  425. {
  426. p9_debug(P9_DEBUG_ERROR, "begin cancel session %p\n", v9ses);
  427. p9_client_begin_disconnect(v9ses->clnt);
  428. }
  429. extern int v9fs_error_init(void);
  430. static struct kobject *v9fs_kobj;
  431. #ifdef CONFIG_9P_FSCACHE
  432. /**
  433. * caches_show - list caches associated with a session
  434. *
  435. * Returns the size of buffer written.
  436. */
  437. static ssize_t caches_show(struct kobject *kobj,
  438. struct kobj_attribute *attr,
  439. char *buf)
  440. {
  441. ssize_t n = 0, count = 0, limit = PAGE_SIZE;
  442. struct v9fs_session_info *v9ses;
  443. spin_lock(&v9fs_sessionlist_lock);
  444. list_for_each_entry(v9ses, &v9fs_sessionlist, slist) {
  445. if (v9ses->cachetag) {
  446. n = snprintf(buf, limit, "%s\n", v9ses->cachetag);
  447. if (n < 0) {
  448. count = n;
  449. break;
  450. }
  451. count += n;
  452. limit -= n;
  453. }
  454. }
  455. spin_unlock(&v9fs_sessionlist_lock);
  456. return count;
  457. }
  458. static struct kobj_attribute v9fs_attr_cache = __ATTR_RO(caches);
  459. #endif /* CONFIG_9P_FSCACHE */
  460. static struct attribute *v9fs_attrs[] = {
  461. #ifdef CONFIG_9P_FSCACHE
  462. &v9fs_attr_cache.attr,
  463. #endif
  464. NULL,
  465. };
  466. static struct attribute_group v9fs_attr_group = {
  467. .attrs = v9fs_attrs,
  468. };
  469. /**
  470. * v9fs_sysfs_init - Initialize the v9fs sysfs interface
  471. *
  472. */
  473. static int __init v9fs_sysfs_init(void)
  474. {
  475. v9fs_kobj = kobject_create_and_add("9p", fs_kobj);
  476. if (!v9fs_kobj)
  477. return -ENOMEM;
  478. if (sysfs_create_group(v9fs_kobj, &v9fs_attr_group)) {
  479. kobject_put(v9fs_kobj);
  480. return -ENOMEM;
  481. }
  482. return 0;
  483. }
  484. /**
  485. * v9fs_sysfs_cleanup - Unregister the v9fs sysfs interface
  486. *
  487. */
  488. static void v9fs_sysfs_cleanup(void)
  489. {
  490. sysfs_remove_group(v9fs_kobj, &v9fs_attr_group);
  491. kobject_put(v9fs_kobj);
  492. }
  493. static void v9fs_inode_init_once(void *foo)
  494. {
  495. struct v9fs_inode *v9inode = (struct v9fs_inode *)foo;
  496. #ifdef CONFIG_9P_FSCACHE
  497. v9inode->fscache = NULL;
  498. #endif
  499. memset(&v9inode->qid, 0, sizeof(v9inode->qid));
  500. inode_init_once(&v9inode->vfs_inode);
  501. }
  502. /**
  503. * v9fs_init_inode_cache - initialize a cache for 9P
  504. * Returns 0 on success.
  505. */
  506. static int v9fs_init_inode_cache(void)
  507. {
  508. v9fs_inode_cache = kmem_cache_create("v9fs_inode_cache",
  509. sizeof(struct v9fs_inode),
  510. 0, (SLAB_RECLAIM_ACCOUNT|
  511. SLAB_MEM_SPREAD|SLAB_ACCOUNT),
  512. v9fs_inode_init_once);
  513. if (!v9fs_inode_cache)
  514. return -ENOMEM;
  515. return 0;
  516. }
  517. /**
  518. * v9fs_destroy_inode_cache - destroy the cache of 9P inode
  519. *
  520. */
  521. static void v9fs_destroy_inode_cache(void)
  522. {
  523. /*
  524. * Make sure all delayed rcu free inodes are flushed before we
  525. * destroy cache.
  526. */
  527. rcu_barrier();
  528. kmem_cache_destroy(v9fs_inode_cache);
  529. }
  530. static int v9fs_cache_register(void)
  531. {
  532. int ret;
  533. ret = v9fs_init_inode_cache();
  534. if (ret < 0)
  535. return ret;
  536. #ifdef CONFIG_9P_FSCACHE
  537. ret = fscache_register_netfs(&v9fs_cache_netfs);
  538. if (ret < 0)
  539. v9fs_destroy_inode_cache();
  540. #endif
  541. return ret;
  542. }
  543. static void v9fs_cache_unregister(void)
  544. {
  545. v9fs_destroy_inode_cache();
  546. #ifdef CONFIG_9P_FSCACHE
  547. fscache_unregister_netfs(&v9fs_cache_netfs);
  548. #endif
  549. }
  550. /**
  551. * init_v9fs - Initialize module
  552. *
  553. */
  554. static int __init init_v9fs(void)
  555. {
  556. int err;
  557. pr_info("Installing v9fs 9p2000 file system support\n");
  558. /* TODO: Setup list of registered trasnport modules */
  559. err = v9fs_cache_register();
  560. if (err < 0) {
  561. pr_err("Failed to register v9fs for caching\n");
  562. return err;
  563. }
  564. err = v9fs_sysfs_init();
  565. if (err < 0) {
  566. pr_err("Failed to register with sysfs\n");
  567. goto out_cache;
  568. }
  569. err = register_filesystem(&v9fs_fs_type);
  570. if (err < 0) {
  571. pr_err("Failed to register filesystem\n");
  572. goto out_sysfs_cleanup;
  573. }
  574. return 0;
  575. out_sysfs_cleanup:
  576. v9fs_sysfs_cleanup();
  577. out_cache:
  578. v9fs_cache_unregister();
  579. return err;
  580. }
  581. /**
  582. * exit_v9fs - shutdown module
  583. *
  584. */
  585. static void __exit exit_v9fs(void)
  586. {
  587. v9fs_sysfs_cleanup();
  588. v9fs_cache_unregister();
  589. unregister_filesystem(&v9fs_fs_type);
  590. }
  591. module_init(init_v9fs)
  592. module_exit(exit_v9fs)
  593. MODULE_AUTHOR("Latchesar Ionkov <lucho@ionkov.net>");
  594. MODULE_AUTHOR("Eric Van Hensbergen <ericvh@gmail.com>");
  595. MODULE_AUTHOR("Ron Minnich <rminnich@lanl.gov>");
  596. MODULE_LICENSE("GPL");