diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-12-02 14:49:42 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.de> | 2008-12-02 14:49:42 +0100 |
commit | 5d9ec854bfb6f1e122b1d96b344164a71eac5be8 (patch) | |
tree | ed74270562b414a35919da5b0fa372e10ebaf254 /fs/fuse/file.c | |
parent | c9f0523d88fd208ce094995a0ac63f7c04e56bab (diff) | |
download | kernel_samsung_tuna-5d9ec854bfb6f1e122b1d96b344164a71eac5be8.zip kernel_samsung_tuna-5d9ec854bfb6f1e122b1d96b344164a71eac5be8.tar.gz kernel_samsung_tuna-5d9ec854bfb6f1e122b1d96b344164a71eac5be8.tar.bz2 |
fuse: clean up annotations of fc->lock
Makes the existing annotations match the more common one per line style
and adds a few missing annotations.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 4d2f133..1a057f0 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1068,6 +1068,8 @@ static void fuse_writepage_finish(struct fuse_conn *fc, struct fuse_req *req) /* Called under fc->lock, may release and reacquire it */ static void fuse_send_writepage(struct fuse_conn *fc, struct fuse_req *req) +__releases(&fc->lock) +__acquires(&fc->lock) { struct fuse_inode *fi = get_fuse_inode(req->inode); loff_t size = i_size_read(req->inode); @@ -1105,6 +1107,8 @@ static void fuse_send_writepage(struct fuse_conn *fc, struct fuse_req *req) * Called with fc->lock */ void fuse_flush_writepages(struct inode *inode) +__releases(&fc->lock) +__acquires(&fc->lock) { struct fuse_conn *fc = get_fuse_conn(inode); struct fuse_inode *fi = get_fuse_inode(inode); |