Displaying 4 results from an estimated 4 matches for "name_ptr".
Did you mean:
name_path
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
...struct dentry *child)
+{
+ struct inode *inode = child->d_inode;
+ struct inode *dir = parent->d_inode;
+ struct btrfs_path *path;
+ struct btrfs_root *root = BTRFS_I(dir)->root;
+ struct btrfs_inode_ref *iref;
+ struct btrfs_root_ref *rref;
+ struct extent_buffer *leaf;
+ unsigned long name_ptr;
+ struct btrfs_key key;
+ int name_len;
+ int ret;
+
+ if (!dir || !inode)
+ return -EINVAL;
+
+ if (!S_ISDIR(dir->i_mode))
+ return -EINVAL;
+
+ path = btrfs_alloc_path();
+ if (!path)
+ return -ENOMEM;
+ path->leave_spinning = 1;
+
+ if (inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) {
+...
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...nt btrfs_insert_orphan_dir_item(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root,
+ struct btrfs_key *location)
+{
+ struct btrfs_disk_key disk_key;
+ struct btrfs_dir_item *dir_item;
+ struct btrfs_path *path;
+ struct btrfs_key key;
+ struct extent_buffer *leaf;
+ unsigned long name_ptr;
+ const char *name = ".orphandir";
+ int name_len = strlen(name);
+ int ret = 0;
+ u32 data_size;
+
+ key.objectid = root->inode->i_ino;
+ btrfs_set_key_type(&key, BTRFS_ORPHAN_DIR_ITEM_KEY);
+ key.offset = btrfs_name_hash(name, name_len);
+ path = btrfs_alloc_path();
+ data_si...
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
Hi,
Here''s an implementation of NFS support for btrfs. It does not work in one
particular case as described in
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg00298.html.
This uses the btrfs_iget helper introduced previously.
Comments ?
---
Signed-off-by: Balaji Rao <balajirrao@gmail.com>
diff -r 3f0eee804974 Makefile
--- a/Makefile Thu Jun 26 10:34:20 2008 -0400
2006 Feb 01
3
No access check deleting printer drivers
Hello list!
On all my samba installations (3.0.20b) I can delete all unused printer
drivers with rpcclient regardless which user name or password i use.
Is this a general feature or might it depend on my settings?
Thanks,
Martin
--
Martin Zielinski mz@seh.de
Software Development
SEH Computertechnik GmbH www.seh.de