projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filesystems: add missing nlink wrappers
[deliverable/linux.git]
/
mm
/
shmem.c
diff --git
a/mm/shmem.c
b/mm/shmem.c
index fa4fa6ce13bc431c65de6725d9b86f6db24bf041..45b9acb575f9c5c2ad6a869d1e7c28abba3a890e 100644
(file)
--- a/
mm/shmem.c
+++ b/
mm/shmem.c
@@
-2503,7
+2503,7
@@
struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags
d_instantiate(path.dentry, inode);
inode->i_size = size;
-
inode->i_nlink = 0
; /* It is unlinked */
+
clear_nlink(inode)
; /* It is unlinked */
#ifndef CONFIG_MMU
error = ramfs_nommu_expand_for_mapping(inode, size);
if (error)
This page took
0.024361 seconds
and
5
git commands to generate.