summaryrefslogtreecommitdiffstats
path: root/fs/umsdos/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/umsdos/dir.c')
-rw-r--r--fs/umsdos/dir.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/umsdos/dir.c b/fs/umsdos/dir.c
index 29eebb3f2..9d37f24bc 100644
--- a/fs/umsdos/dir.c
+++ b/fs/umsdos/dir.c
@@ -36,12 +36,14 @@ static int umsdos_dentry_validate(struct dentry *dentry, int flags)
}
/* for now, drop everything to force lookups ... */
-static void umsdos_dentry_dput(struct dentry *dentry)
+/* ITYM s/everything/& positive/... */
+static int umsdos_dentry_dput(struct dentry *dentry)
{
struct inode *inode = dentry->d_inode;
if (inode) {
- d_drop(dentry);
+ return 1;
}
+ return 0;
}
struct dentry_operations umsdos_dentry_operations =