dlmfs.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. /* -*- mode: c; c-basic-offset: 8; -*-
  2. * vim: noexpandtab sw=8 ts=8 sts=0:
  3. *
  4. * dlmfs.c
  5. *
  6. * Code which implements the kernel side of a minimal userspace
  7. * interface to our DLM. This file handles the virtual file system
  8. * used for communication with userspace. Credit should go to ramfs,
  9. * which was a template for the fs side of this module.
  10. *
  11. * Copyright (C) 2003, 2004 Oracle. All rights reserved.
  12. *
  13. * This program is free software; you can redistribute it and/or
  14. * modify it under the terms of the GNU General Public
  15. * License as published by the Free Software Foundation; either
  16. * version 2 of the License, or (at your option) any later version.
  17. *
  18. * This program is distributed in the hope that it will be useful,
  19. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  21. * General Public License for more details.
  22. *
  23. * You should have received a copy of the GNU General Public
  24. * License along with this program; if not, write to the
  25. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  26. * Boston, MA 021110-1307, USA.
  27. */
  28. /* Simple VFS hooks based on: */
  29. /*
  30. * Resizable simple ram filesystem for Linux.
  31. *
  32. * Copyright (C) 2000 Linus Torvalds.
  33. * 2000 Transmeta Corp.
  34. */
  35. #include <linux/module.h>
  36. #include <linux/fs.h>
  37. #include <linux/pagemap.h>
  38. #include <linux/types.h>
  39. #include <linux/slab.h>
  40. #include <linux/highmem.h>
  41. #include <linux/init.h>
  42. #include <linux/string.h>
  43. #include <linux/backing-dev.h>
  44. #include <asm/uaccess.h>
  45. #include "cluster/nodemanager.h"
  46. #include "cluster/heartbeat.h"
  47. #include "cluster/tcp.h"
  48. #include "dlmapi.h"
  49. #include "userdlm.h"
  50. #include "dlmfsver.h"
  51. #define MLOG_MASK_PREFIX ML_DLMFS
  52. #include "cluster/masklog.h"
  53. #include "ocfs2_lockingver.h"
  54. static const struct super_operations dlmfs_ops;
  55. static const struct file_operations dlmfs_file_operations;
  56. static const struct inode_operations dlmfs_dir_inode_operations;
  57. static const struct inode_operations dlmfs_root_inode_operations;
  58. static const struct inode_operations dlmfs_file_inode_operations;
  59. static struct kmem_cache *dlmfs_inode_cache;
  60. struct workqueue_struct *user_dlm_worker;
  61. /*
  62. * This is the userdlmfs locking protocol version.
  63. *
  64. * See fs/ocfs2/dlmglue.c for more details on locking versions.
  65. */
  66. static const struct dlm_protocol_version user_locking_protocol = {
  67. .pv_major = OCFS2_LOCKING_PROTOCOL_MAJOR,
  68. .pv_minor = OCFS2_LOCKING_PROTOCOL_MINOR,
  69. };
  70. /*
  71. * These are the ABI capabilities of dlmfs.
  72. *
  73. * Over time, dlmfs has added some features that were not part of the
  74. * initial ABI. Unfortunately, some of these features are not detectable
  75. * via standard usage. For example, Linux's default poll always returns
  76. * POLLIN, so there is no way for a caller of poll(2) to know when dlmfs
  77. * added poll support. Instead, we provide this list of new capabilities.
  78. *
  79. * Capabilities is a read-only attribute. We do it as a module parameter
  80. * so we can discover it whether dlmfs is built in, loaded, or even not
  81. * loaded.
  82. *
  83. * The ABI features are local to this machine's dlmfs mount. This is
  84. * distinct from the locking protocol, which is concerned with inter-node
  85. * interaction.
  86. */
  87. #define DLMFS_CAPABILITIES ""
  88. extern int param_set_dlmfs_capabilities(const char *val,
  89. struct kernel_param *kp)
  90. {
  91. printk(KERN_ERR "%s: readonly parameter\n", kp->name);
  92. return -EINVAL;
  93. }
  94. static int param_get_dlmfs_capabilities(char *buffer,
  95. struct kernel_param *kp)
  96. {
  97. return strlcpy(buffer, DLMFS_CAPABILITIES,
  98. strlen(DLMFS_CAPABILITIES) + 1);
  99. }
  100. module_param_call(capabilities, param_set_dlmfs_capabilities,
  101. param_get_dlmfs_capabilities, NULL, 0444);
  102. MODULE_PARM_DESC(capabilities, DLMFS_CAPABILITIES);
  103. /*
  104. * decodes a set of open flags into a valid lock level and a set of flags.
  105. * returns < 0 if we have invalid flags
  106. * flags which mean something to us:
  107. * O_RDONLY -> PRMODE level
  108. * O_WRONLY -> EXMODE level
  109. *
  110. * O_NONBLOCK -> LKM_NOQUEUE
  111. */
  112. static int dlmfs_decode_open_flags(int open_flags,
  113. int *level,
  114. int *flags)
  115. {
  116. if (open_flags & (O_WRONLY|O_RDWR))
  117. *level = LKM_EXMODE;
  118. else
  119. *level = LKM_PRMODE;
  120. *flags = 0;
  121. if (open_flags & O_NONBLOCK)
  122. *flags |= LKM_NOQUEUE;
  123. return 0;
  124. }
  125. static int dlmfs_file_open(struct inode *inode,
  126. struct file *file)
  127. {
  128. int status, level, flags;
  129. struct dlmfs_filp_private *fp = NULL;
  130. struct dlmfs_inode_private *ip;
  131. if (S_ISDIR(inode->i_mode))
  132. BUG();
  133. mlog(0, "open called on inode %lu, flags 0x%x\n", inode->i_ino,
  134. file->f_flags);
  135. status = dlmfs_decode_open_flags(file->f_flags, &level, &flags);
  136. if (status < 0)
  137. goto bail;
  138. /* We don't want to honor O_APPEND at read/write time as it
  139. * doesn't make sense for LVB writes. */
  140. file->f_flags &= ~O_APPEND;
  141. fp = kmalloc(sizeof(*fp), GFP_NOFS);
  142. if (!fp) {
  143. status = -ENOMEM;
  144. goto bail;
  145. }
  146. fp->fp_lock_level = level;
  147. ip = DLMFS_I(inode);
  148. status = user_dlm_cluster_lock(&ip->ip_lockres, level, flags);
  149. if (status < 0) {
  150. /* this is a strange error to return here but I want
  151. * to be able userspace to be able to distinguish a
  152. * valid lock request from one that simply couldn't be
  153. * granted. */
  154. if (flags & LKM_NOQUEUE && status == -EAGAIN)
  155. status = -ETXTBSY;
  156. kfree(fp);
  157. goto bail;
  158. }
  159. file->private_data = fp;
  160. bail:
  161. return status;
  162. }
  163. static int dlmfs_file_release(struct inode *inode,
  164. struct file *file)
  165. {
  166. int level, status;
  167. struct dlmfs_inode_private *ip = DLMFS_I(inode);
  168. struct dlmfs_filp_private *fp =
  169. (struct dlmfs_filp_private *) file->private_data;
  170. if (S_ISDIR(inode->i_mode))
  171. BUG();
  172. mlog(0, "close called on inode %lu\n", inode->i_ino);
  173. status = 0;
  174. if (fp) {
  175. level = fp->fp_lock_level;
  176. if (level != LKM_IVMODE)
  177. user_dlm_cluster_unlock(&ip->ip_lockres, level);
  178. kfree(fp);
  179. file->private_data = NULL;
  180. }
  181. return 0;
  182. }
  183. static ssize_t dlmfs_file_read(struct file *filp,
  184. char __user *buf,
  185. size_t count,
  186. loff_t *ppos)
  187. {
  188. int bytes_left;
  189. ssize_t readlen;
  190. char *lvb_buf;
  191. struct inode *inode = filp->f_path.dentry->d_inode;
  192. mlog(0, "inode %lu, count = %zu, *ppos = %llu\n",
  193. inode->i_ino, count, *ppos);
  194. if (*ppos >= i_size_read(inode))
  195. return 0;
  196. if (!count)
  197. return 0;
  198. if (!access_ok(VERIFY_WRITE, buf, count))
  199. return -EFAULT;
  200. /* don't read past the lvb */
  201. if ((count + *ppos) > i_size_read(inode))
  202. readlen = i_size_read(inode) - *ppos;
  203. else
  204. readlen = count - *ppos;
  205. lvb_buf = kmalloc(readlen, GFP_NOFS);
  206. if (!lvb_buf)
  207. return -ENOMEM;
  208. user_dlm_read_lvb(inode, lvb_buf, readlen);
  209. bytes_left = __copy_to_user(buf, lvb_buf, readlen);
  210. readlen -= bytes_left;
  211. kfree(lvb_buf);
  212. *ppos = *ppos + readlen;
  213. mlog(0, "read %zd bytes\n", readlen);
  214. return readlen;
  215. }
  216. static ssize_t dlmfs_file_write(struct file *filp,
  217. const char __user *buf,
  218. size_t count,
  219. loff_t *ppos)
  220. {
  221. int bytes_left;
  222. ssize_t writelen;
  223. char *lvb_buf;
  224. struct inode *inode = filp->f_path.dentry->d_inode;
  225. mlog(0, "inode %lu, count = %zu, *ppos = %llu\n",
  226. inode->i_ino, count, *ppos);
  227. if (*ppos >= i_size_read(inode))
  228. return -ENOSPC;
  229. if (!count)
  230. return 0;
  231. if (!access_ok(VERIFY_READ, buf, count))
  232. return -EFAULT;
  233. /* don't write past the lvb */
  234. if ((count + *ppos) > i_size_read(inode))
  235. writelen = i_size_read(inode) - *ppos;
  236. else
  237. writelen = count - *ppos;
  238. lvb_buf = kmalloc(writelen, GFP_NOFS);
  239. if (!lvb_buf)
  240. return -ENOMEM;
  241. bytes_left = copy_from_user(lvb_buf, buf, writelen);
  242. writelen -= bytes_left;
  243. if (writelen)
  244. user_dlm_write_lvb(inode, lvb_buf, writelen);
  245. kfree(lvb_buf);
  246. *ppos = *ppos + writelen;
  247. mlog(0, "wrote %zd bytes\n", writelen);
  248. return writelen;
  249. }
  250. static void dlmfs_init_once(void *foo)
  251. {
  252. struct dlmfs_inode_private *ip =
  253. (struct dlmfs_inode_private *) foo;
  254. ip->ip_dlm = NULL;
  255. ip->ip_parent = NULL;
  256. inode_init_once(&ip->ip_vfs_inode);
  257. }
  258. static struct inode *dlmfs_alloc_inode(struct super_block *sb)
  259. {
  260. struct dlmfs_inode_private *ip;
  261. ip = kmem_cache_alloc(dlmfs_inode_cache, GFP_NOFS);
  262. if (!ip)
  263. return NULL;
  264. return &ip->ip_vfs_inode;
  265. }
  266. static void dlmfs_destroy_inode(struct inode *inode)
  267. {
  268. kmem_cache_free(dlmfs_inode_cache, DLMFS_I(inode));
  269. }
  270. static void dlmfs_clear_inode(struct inode *inode)
  271. {
  272. int status;
  273. struct dlmfs_inode_private *ip;
  274. if (!inode)
  275. return;
  276. mlog(0, "inode %lu\n", inode->i_ino);
  277. ip = DLMFS_I(inode);
  278. if (S_ISREG(inode->i_mode)) {
  279. status = user_dlm_destroy_lock(&ip->ip_lockres);
  280. if (status < 0)
  281. mlog_errno(status);
  282. iput(ip->ip_parent);
  283. goto clear_fields;
  284. }
  285. mlog(0, "we're a directory, ip->ip_dlm = 0x%p\n", ip->ip_dlm);
  286. /* we must be a directory. If required, lets unregister the
  287. * dlm context now. */
  288. if (ip->ip_dlm)
  289. user_dlm_unregister_context(ip->ip_dlm);
  290. clear_fields:
  291. ip->ip_parent = NULL;
  292. ip->ip_dlm = NULL;
  293. }
  294. static struct backing_dev_info dlmfs_backing_dev_info = {
  295. .name = "ocfs2-dlmfs",
  296. .ra_pages = 0, /* No readahead */
  297. .capabilities = BDI_CAP_NO_ACCT_AND_WRITEBACK,
  298. };
  299. static struct inode *dlmfs_get_root_inode(struct super_block *sb)
  300. {
  301. struct inode *inode = new_inode(sb);
  302. int mode = S_IFDIR | 0755;
  303. struct dlmfs_inode_private *ip;
  304. if (inode) {
  305. ip = DLMFS_I(inode);
  306. inode->i_mode = mode;
  307. inode->i_uid = current_fsuid();
  308. inode->i_gid = current_fsgid();
  309. inode->i_mapping->backing_dev_info = &dlmfs_backing_dev_info;
  310. inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
  311. inc_nlink(inode);
  312. inode->i_fop = &simple_dir_operations;
  313. inode->i_op = &dlmfs_root_inode_operations;
  314. }
  315. return inode;
  316. }
  317. static struct inode *dlmfs_get_inode(struct inode *parent,
  318. struct dentry *dentry,
  319. int mode)
  320. {
  321. struct super_block *sb = parent->i_sb;
  322. struct inode * inode = new_inode(sb);
  323. struct dlmfs_inode_private *ip;
  324. if (!inode)
  325. return NULL;
  326. inode->i_mode = mode;
  327. inode->i_uid = current_fsuid();
  328. inode->i_gid = current_fsgid();
  329. inode->i_mapping->backing_dev_info = &dlmfs_backing_dev_info;
  330. inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
  331. ip = DLMFS_I(inode);
  332. ip->ip_dlm = DLMFS_I(parent)->ip_dlm;
  333. switch (mode & S_IFMT) {
  334. default:
  335. /* for now we don't support anything other than
  336. * directories and regular files. */
  337. BUG();
  338. break;
  339. case S_IFREG:
  340. inode->i_op = &dlmfs_file_inode_operations;
  341. inode->i_fop = &dlmfs_file_operations;
  342. i_size_write(inode, DLM_LVB_LEN);
  343. user_dlm_lock_res_init(&ip->ip_lockres, dentry);
  344. /* released at clear_inode time, this insures that we
  345. * get to drop the dlm reference on each lock *before*
  346. * we call the unregister code for releasing parent
  347. * directories. */
  348. ip->ip_parent = igrab(parent);
  349. BUG_ON(!ip->ip_parent);
  350. break;
  351. case S_IFDIR:
  352. inode->i_op = &dlmfs_dir_inode_operations;
  353. inode->i_fop = &simple_dir_operations;
  354. /* directory inodes start off with i_nlink ==
  355. * 2 (for "." entry) */
  356. inc_nlink(inode);
  357. break;
  358. }
  359. if (parent->i_mode & S_ISGID) {
  360. inode->i_gid = parent->i_gid;
  361. if (S_ISDIR(mode))
  362. inode->i_mode |= S_ISGID;
  363. }
  364. return inode;
  365. }
  366. /*
  367. * File creation. Allocate an inode, and we're done..
  368. */
  369. /* SMP-safe */
  370. static int dlmfs_mkdir(struct inode * dir,
  371. struct dentry * dentry,
  372. int mode)
  373. {
  374. int status;
  375. struct inode *inode = NULL;
  376. struct qstr *domain = &dentry->d_name;
  377. struct dlmfs_inode_private *ip;
  378. struct dlm_ctxt *dlm;
  379. struct dlm_protocol_version proto = user_locking_protocol;
  380. mlog(0, "mkdir %.*s\n", domain->len, domain->name);
  381. /* verify that we have a proper domain */
  382. if (domain->len >= O2NM_MAX_NAME_LEN) {
  383. status = -EINVAL;
  384. mlog(ML_ERROR, "invalid domain name for directory.\n");
  385. goto bail;
  386. }
  387. inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR);
  388. if (!inode) {
  389. status = -ENOMEM;
  390. mlog_errno(status);
  391. goto bail;
  392. }
  393. ip = DLMFS_I(inode);
  394. dlm = user_dlm_register_context(domain, &proto);
  395. if (IS_ERR(dlm)) {
  396. status = PTR_ERR(dlm);
  397. mlog(ML_ERROR, "Error %d could not register domain \"%.*s\"\n",
  398. status, domain->len, domain->name);
  399. goto bail;
  400. }
  401. ip->ip_dlm = dlm;
  402. inc_nlink(dir);
  403. d_instantiate(dentry, inode);
  404. dget(dentry); /* Extra count - pin the dentry in core */
  405. status = 0;
  406. bail:
  407. if (status < 0)
  408. iput(inode);
  409. return status;
  410. }
  411. static int dlmfs_create(struct inode *dir,
  412. struct dentry *dentry,
  413. int mode,
  414. struct nameidata *nd)
  415. {
  416. int status = 0;
  417. struct inode *inode;
  418. struct qstr *name = &dentry->d_name;
  419. mlog(0, "create %.*s\n", name->len, name->name);
  420. /* verify name is valid and doesn't contain any dlm reserved
  421. * characters */
  422. if (name->len >= USER_DLM_LOCK_ID_MAX_LEN ||
  423. name->name[0] == '$') {
  424. status = -EINVAL;
  425. mlog(ML_ERROR, "invalid lock name, %.*s\n", name->len,
  426. name->name);
  427. goto bail;
  428. }
  429. inode = dlmfs_get_inode(dir, dentry, mode | S_IFREG);
  430. if (!inode) {
  431. status = -ENOMEM;
  432. mlog_errno(status);
  433. goto bail;
  434. }
  435. d_instantiate(dentry, inode);
  436. dget(dentry); /* Extra count - pin the dentry in core */
  437. bail:
  438. return status;
  439. }
  440. static int dlmfs_unlink(struct inode *dir,
  441. struct dentry *dentry)
  442. {
  443. int status;
  444. struct inode *inode = dentry->d_inode;
  445. mlog(0, "unlink inode %lu\n", inode->i_ino);
  446. /* if there are no current holders, or none that are waiting
  447. * to acquire a lock, this basically destroys our lockres. */
  448. status = user_dlm_destroy_lock(&DLMFS_I(inode)->ip_lockres);
  449. if (status < 0) {
  450. mlog(ML_ERROR, "unlink %.*s, error %d from destroy\n",
  451. dentry->d_name.len, dentry->d_name.name, status);
  452. goto bail;
  453. }
  454. status = simple_unlink(dir, dentry);
  455. bail:
  456. return status;
  457. }
  458. static int dlmfs_fill_super(struct super_block * sb,
  459. void * data,
  460. int silent)
  461. {
  462. struct inode * inode;
  463. struct dentry * root;
  464. sb->s_maxbytes = MAX_LFS_FILESIZE;
  465. sb->s_blocksize = PAGE_CACHE_SIZE;
  466. sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
  467. sb->s_magic = DLMFS_MAGIC;
  468. sb->s_op = &dlmfs_ops;
  469. inode = dlmfs_get_root_inode(sb);
  470. if (!inode)
  471. return -ENOMEM;
  472. root = d_alloc_root(inode);
  473. if (!root) {
  474. iput(inode);
  475. return -ENOMEM;
  476. }
  477. sb->s_root = root;
  478. return 0;
  479. }
  480. static const struct file_operations dlmfs_file_operations = {
  481. .open = dlmfs_file_open,
  482. .release = dlmfs_file_release,
  483. .read = dlmfs_file_read,
  484. .write = dlmfs_file_write,
  485. };
  486. static const struct inode_operations dlmfs_dir_inode_operations = {
  487. .create = dlmfs_create,
  488. .lookup = simple_lookup,
  489. .unlink = dlmfs_unlink,
  490. };
  491. /* this way we can restrict mkdir to only the toplevel of the fs. */
  492. static const struct inode_operations dlmfs_root_inode_operations = {
  493. .lookup = simple_lookup,
  494. .mkdir = dlmfs_mkdir,
  495. .rmdir = simple_rmdir,
  496. };
  497. static const struct super_operations dlmfs_ops = {
  498. .statfs = simple_statfs,
  499. .alloc_inode = dlmfs_alloc_inode,
  500. .destroy_inode = dlmfs_destroy_inode,
  501. .clear_inode = dlmfs_clear_inode,
  502. .drop_inode = generic_delete_inode,
  503. };
  504. static const struct inode_operations dlmfs_file_inode_operations = {
  505. .getattr = simple_getattr,
  506. };
  507. static int dlmfs_get_sb(struct file_system_type *fs_type,
  508. int flags, const char *dev_name, void *data, struct vfsmount *mnt)
  509. {
  510. return get_sb_nodev(fs_type, flags, data, dlmfs_fill_super, mnt);
  511. }
  512. static struct file_system_type dlmfs_fs_type = {
  513. .owner = THIS_MODULE,
  514. .name = "ocfs2_dlmfs",
  515. .get_sb = dlmfs_get_sb,
  516. .kill_sb = kill_litter_super,
  517. };
  518. static int __init init_dlmfs_fs(void)
  519. {
  520. int status;
  521. int cleanup_inode = 0, cleanup_worker = 0;
  522. dlmfs_print_version();
  523. status = bdi_init(&dlmfs_backing_dev_info);
  524. if (status)
  525. return status;
  526. dlmfs_inode_cache = kmem_cache_create("dlmfs_inode_cache",
  527. sizeof(struct dlmfs_inode_private),
  528. 0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
  529. SLAB_MEM_SPREAD),
  530. dlmfs_init_once);
  531. if (!dlmfs_inode_cache) {
  532. status = -ENOMEM;
  533. goto bail;
  534. }
  535. cleanup_inode = 1;
  536. user_dlm_worker = create_singlethread_workqueue("user_dlm");
  537. if (!user_dlm_worker) {
  538. status = -ENOMEM;
  539. goto bail;
  540. }
  541. cleanup_worker = 1;
  542. status = register_filesystem(&dlmfs_fs_type);
  543. bail:
  544. if (status) {
  545. if (cleanup_inode)
  546. kmem_cache_destroy(dlmfs_inode_cache);
  547. if (cleanup_worker)
  548. destroy_workqueue(user_dlm_worker);
  549. bdi_destroy(&dlmfs_backing_dev_info);
  550. } else
  551. printk("OCFS2 User DLM kernel interface loaded\n");
  552. return status;
  553. }
  554. static void __exit exit_dlmfs_fs(void)
  555. {
  556. unregister_filesystem(&dlmfs_fs_type);
  557. flush_workqueue(user_dlm_worker);
  558. destroy_workqueue(user_dlm_worker);
  559. kmem_cache_destroy(dlmfs_inode_cache);
  560. bdi_destroy(&dlmfs_backing_dev_info);
  561. }
  562. MODULE_AUTHOR("Oracle");
  563. MODULE_LICENSE("GPL");
  564. module_init(init_dlmfs_fs)
  565. module_exit(exit_dlmfs_fs)