fuse: use drop_nlink() instead of direct nlink manipulation
authorCsaba Henk <csaba@gluster.com>
Mon, 24 Aug 2009 04:14:07 +0000 (06:14 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 16 Sep 2009 12:15:28 +0000 (14:15 +0200)
commitd6db07ded51c5fb4df2f4a32e6a41e9bb5db7fc4
tree149cc06d32038b9ba56cb1b54197b649af36083b
parent37d217f029a56a6d385f99773fb27dfcb51f9a46
fuse: use drop_nlink() instead of direct nlink manipulation

drop_nlink() is the API function to decrease the link count of an inode.
However, at a place the control filesystem used the decrement operator
on i_nlink directly. Fix this.

Cc: Anand Avati <avati@gluster.com>
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/control.c