[PATCH v2 00/10] NFS: Clean up unnecessary functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I went searching for functions that simply pass their arguments to another
function without really adding anything useful.  I figure we can just call
the other function directly instead.

Changes in v2:
- Add rpc_cmp_addr_port() for comparing sockaddr addresses and port numbers.
- Add missing changes to include/linux/nfs_fs.h in patch 10 (NFS: Remove nfs_release())

Let me know what you all think!
Anna


Anna Schumaker (10):
  NFS: Remove unused variable "pages_ptr"
  NFS: Rename nfs_readdir_free_pagearray() and nfs_readdir_large_page()
  SUNRPC: Drop double-underscores from rpc_cmp_addr{4|6}()
  SUNRPC: Add an rpc_cmp_addr_port() function
  NFS: Use RPC functions for matching sockaddrs
  NFS: Combine nfs_idmap_{init|quit}() and
    nfs_idmap_{init|quit}_keyring()
  NFS: Remove nfs4_match_stateid()
  NFS: Remove nfs41_server_notify_{target|highest}_slotid_update()
  NFS: Rename nfs_commit_unstable_pages() to nfs_write_inode()
  NFS: Remove nfs_release()

 fs/nfs/callback_proc.c      |   2 +-
 fs/nfs/client.c             | 113 +-------------------------------------------
 fs/nfs/dir.c                |  20 +++-----
 fs/nfs/file.c               |   3 +-
 fs/nfs/inode.c              |   8 +---
 fs/nfs/internal.h           |   4 --
 fs/nfs/nfs4_fs.h            |   4 +-
 fs/nfs/nfs4client.c         |   5 +-
 fs/nfs/nfs4idmap.c          |  14 +-----
 fs/nfs/nfs4proc.c           |  10 +---
 fs/nfs/nfs4state.c          |  12 +----
 fs/nfs/write.c              |   7 +--
 include/linux/nfs_fs.h      |   2 +-
 include/linux/sunrpc/addr.h |  25 +++++++---
 14 files changed, 40 insertions(+), 189 deletions(-)

-- 
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux