https://jxself.org/git/linux-libre.git
Raw File
Tip revision: b616e4cfb924a45ede703e1f9f65f22d7c7826d7 authored by Jason Self on 20 February 2014, 19:08:25 UTC
Linux-libre 3.12.12-gnu
Tip revision: b616e4c
namei.h
/*  linux/fs/ext3/namei.h
 *
 * Copyright (C) 2005 Simtec Electronics
 *	Ben Dooks <ben@simtec.co.uk>
 *
*/

extern struct dentry *ext3_get_parent(struct dentry *child);

static inline struct buffer_head *ext3_dir_bread(handle_t *handle,
						 struct inode *inode,
						 int block, int create,
						 int *err)
{
	struct buffer_head *bh;

	bh = ext3_bread(handle, inode, block, create, err);

	if (!bh && !(*err)) {
		*err = -EIO;
		ext3_error(inode->i_sb, __func__,
			   "Directory hole detected on inode %lu\n",
			   inode->i_ino);
		return NULL;
	}
	return bh;
}
back to top