diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 01:34:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 01:34:18 -0500 |
commit | 9bc9ccd7db1c9f043f75380b5a5b94912046a60e (patch) | |
tree | dd0a1b3396ae9414f668b0110cc39d11268ad3ed /net | |
parent | f0230294271f511b41797305b685365a9e569a09 (diff) | |
parent | bdd3536618443809d18868563eeafa63b9d29603 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs updates from Al Viro:
"All kinds of stuff this time around; some more notable parts:
- RCU'd vfsmounts handling
- new primitives for coredump handling
- files_lock is gone
- Bruce's delegations handling series
- exportfs fixes
plus misc stuff all over the place"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (101 commits)
ecryptfs: ->f_op is never NULL
locks: break delegations on any attribute modification
locks: break delegations on link
locks: break delegations on rename
locks: helper functions for delegation breaking
locks: break delegations on unlink
namei: minor vfs_unlink cleanup
locks: implement delegations
locks: introduce new FL_DELEG lock flag
vfs: take i_mutex on renamed file
vfs: rename I_MUTEX_QUOTA now that it's not used for quotas
vfs: don't use PARENT/CHILD lock classes for non-directories
vfs: pull ext4's double-i_mutex-locking into common code
exportfs: fix quadratic behavior in filehandle lookup
exportfs: better variable name
exportfs: move most of reconnect_path to helper function
exportfs: eliminate unused "noprogress" counter
exportfs: stop retrying once we race with rename/remove
exportfs: clear DISCONNECTED on all parents sooner
exportfs: more detailed comment for path_reconnect
...
Diffstat (limited to 'net')
-rw-r--r-- | net/9p/trans_fd.c | 4 | ||||
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 3ffda1b3799b..9321a7763067 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c | |||
@@ -244,10 +244,10 @@ p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt) | |||
244 | if (!ts) | 244 | if (!ts) |
245 | return -EREMOTEIO; | 245 | return -EREMOTEIO; |
246 | 246 | ||
247 | if (!ts->rd->f_op || !ts->rd->f_op->poll) | 247 | if (!ts->rd->f_op->poll) |
248 | return -EIO; | 248 | return -EIO; |
249 | 249 | ||
250 | if (!ts->wr->f_op || !ts->wr->f_op->poll) | 250 | if (!ts->wr->f_op->poll) |
251 | return -EIO; | 251 | return -EIO; |
252 | 252 | ||
253 | ret = ts->rd->f_op->poll(ts->rd, pt); | 253 | ret = ts->rd->f_op->poll(ts->rd, pt); |
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index f94567b45bb3..d0d14a04dce1 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -519,8 +519,8 @@ static int __rpc_create_common(struct inode *dir, struct dentry *dentry, | |||
519 | d_add(dentry, inode); | 519 | d_add(dentry, inode); |
520 | return 0; | 520 | return 0; |
521 | out_err: | 521 | out_err: |
522 | printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %s\n", | 522 | printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %pd\n", |
523 | __FILE__, __func__, dentry->d_name.name); | 523 | __FILE__, __func__, dentry); |
524 | dput(dentry); | 524 | dput(dentry); |
525 | return -ENOMEM; | 525 | return -ENOMEM; |
526 | } | 526 | } |
@@ -755,8 +755,8 @@ static int rpc_populate(struct dentry *parent, | |||
755 | out_bad: | 755 | out_bad: |
756 | __rpc_depopulate(parent, files, start, eof); | 756 | __rpc_depopulate(parent, files, start, eof); |
757 | mutex_unlock(&dir->i_mutex); | 757 | mutex_unlock(&dir->i_mutex); |
758 | printk(KERN_WARNING "%s: %s failed to populate directory %s\n", | 758 | printk(KERN_WARNING "%s: %s failed to populate directory %pd\n", |
759 | __FILE__, __func__, parent->d_name.name); | 759 | __FILE__, __func__, parent); |
760 | return err; | 760 | return err; |
761 | } | 761 | } |
762 | 762 | ||
@@ -852,8 +852,8 @@ out: | |||
852 | return dentry; | 852 | return dentry; |
853 | out_err: | 853 | out_err: |
854 | dentry = ERR_PTR(err); | 854 | dentry = ERR_PTR(err); |
855 | printk(KERN_WARNING "%s: %s() failed to create pipe %s/%s (errno = %d)\n", | 855 | printk(KERN_WARNING "%s: %s() failed to create pipe %pd/%s (errno = %d)\n", |
856 | __FILE__, __func__, parent->d_name.name, name, | 856 | __FILE__, __func__, parent, name, |
857 | err); | 857 | err); |
858 | goto out; | 858 | goto out; |
859 | } | 859 | } |