aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 840f8a6fb85f..10aa8eeeb112 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -307,7 +307,7 @@ static int mqueue_unlink(struct inode *dir, struct dentry *dentry)
307 307
308 dir->i_ctime = dir->i_mtime = dir->i_atime = CURRENT_TIME; 308 dir->i_ctime = dir->i_mtime = dir->i_atime = CURRENT_TIME;
309 dir->i_size -= DIRENT_SIZE; 309 dir->i_size -= DIRENT_SIZE;
310 inode->i_nlink--; 310 drop_nlink(inode);
311 dput(dentry); 311 dput(dentry);
312 return 0; 312 return 0;
313} 313}