aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-09 19:02:40 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:28:05 -0500
commit4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (patch)
treefaac00bd440eff91bd59a3cef88e74220082163a /fs/ocfs2/file.c
parenta301a27d715276a71827004549bcbb2b64776c11 (diff)
ocfs2: remove unused handle argument from ocfs2_meta_lock_full()
Now that this is unused and all callers pass NULL, we can safely remove it. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index bd944e893bb..bcae2693e95 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -812,7 +812,7 @@ int ocfs2_setattr(struct dentry *dentry, struct iattr *attr)
812 } 812 }
813 } 813 }
814 814
815 status = ocfs2_meta_lock(inode, NULL, &bh, 1); 815 status = ocfs2_meta_lock(inode, &bh, 1);
816 if (status < 0) { 816 if (status < 0) {
817 if (status != -ENOENT) 817 if (status != -ENOENT)
818 mlog_errno(status); 818 mlog_errno(status);
@@ -1006,7 +1006,7 @@ static ssize_t ocfs2_file_aio_write(struct kiocb *iocb,
1006 */ 1006 */
1007 meta_level = (filp->f_flags & O_APPEND) ? 1 : 0; 1007 meta_level = (filp->f_flags & O_APPEND) ? 1 : 0;
1008 for(;;) { 1008 for(;;) {
1009 ret = ocfs2_meta_lock(inode, NULL, NULL, meta_level); 1009 ret = ocfs2_meta_lock(inode, NULL, meta_level);
1010 if (ret < 0) { 1010 if (ret < 0) {
1011 meta_level = -1; 1011 meta_level = -1;
1012 mlog_errno(ret); 1012 mlog_errno(ret);
@@ -1174,7 +1174,7 @@ static ssize_t ocfs2_file_aio_read(struct kiocb *iocb,
1174 * like i_size. This allows the checks down below 1174 * like i_size. This allows the checks down below
1175 * generic_file_aio_read() a chance of actually working. 1175 * generic_file_aio_read() a chance of actually working.
1176 */ 1176 */
1177 ret = ocfs2_meta_lock(inode, NULL, NULL, 0); 1177 ret = ocfs2_meta_lock(inode, NULL, 0);
1178 if (ret < 0) { 1178 if (ret < 0) {
1179 mlog_errno(ret); 1179 mlog_errno(ret);
1180 goto bail; 1180 goto bail;