dlmfs.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) | dlmfs.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef) |
---|---|
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, --- 522 unchanged lines hidden (view full) --- 531bail: 532 if (status < 0) 533 iput(inode); 534 return status; 535} 536 537static int dlmfs_create(struct inode *dir, 538 struct dentry *dentry, | 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, --- 522 unchanged lines hidden (view full) --- 531bail: 532 if (status < 0) 533 iput(inode); 534 return status; 535} 536 537static int dlmfs_create(struct inode *dir, 538 struct dentry *dentry, |
539 int mode, | 539 umode_t mode, |
540 struct nameidata *nd) 541{ 542 int status = 0; 543 struct inode *inode; 544 struct qstr *name = &dentry->d_name; 545 546 mlog(0, "create %.*s\n", name->len, name->name); 547 --- 177 unchanged lines hidden --- | 540 struct nameidata *nd) 541{ 542 int status = 0; 543 struct inode *inode; 544 struct qstr *name = &dentry->d_name; 545 546 mlog(0, "create %.*s\n", name->len, name->name); 547 --- 177 unchanged lines hidden --- |