Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188632
b: refs/heads/master
c: 60d8773
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Sage Weil committed Nov 21, 2009
1 parent d1d7494 commit d67f420
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b19a29af74c09553b9fef95cdf6e9af3df65f544
refs/heads/master: 60d877334f7d9f5f2417ea4a83c1def769286102
6 changes: 4 additions & 2 deletions trunk/fs/ceph/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,10 @@ static int ceph_sync_setxattr(struct dentry *dentry, const char *name,
/* do request */
req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETXATTR,
USE_AUTH_MDS);
if (IS_ERR(req))
return PTR_ERR(req);
if (IS_ERR(req)) {
err = PTR_ERR(req);
goto out;
}
req->r_inode = igrab(inode);
req->r_inode_drop = CEPH_CAP_XATTR_SHARED;
req->r_num_caps = 1;
Expand Down

0 comments on commit d67f420

Please sign in to comment.