Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
many changes: seems ok on 2.4.9
[fs/lustre-release.git]
/
lustre
/
obdfs
/
namei.c
diff --git
a/lustre/obdfs/namei.c
b/lustre/obdfs/namei.c
index
55a58ba
..
34808b7
100644
(file)
--- a/
lustre/obdfs/namei.c
+++ b/
lustre/obdfs/namei.c
@@
-288,6
+288,7
@@
static int obdfs_mkdir(struct inode * dir, struct dentry * dentry, int mode)
{
struct inode * inode;
int err = -EMLINK;
+ ENTRY;
if (dir->i_nlink >= EXT2_LINK_MAX)
goto out;
@@
-315,14
+316,17
@@
static int obdfs_mkdir(struct inode * dir, struct dentry * dentry, int mode)
d_instantiate(dentry, inode);
out:
+ EXIT;
return err;
out_fail:
ext2_dec_count(inode);
ext2_dec_count(inode);
iput(inode);
+ EXIT;
out_dir:
ext2_dec_count(dir);
+ EXIT;
goto out;
}