Use helper function patch_equal() and path_put() to simpily code. Kefeng Wang (3): fs: use path_equal() and path_put() to simplify code fs: nfsd: use path_equal() to simply code fs: notify: use path_equal() to simply code fs/namei.c | 20 ++++++-------------- fs/nfsd/export.c | 3 +-- fs/nfsd/nfs4xdr.c | 2 +- fs/notify/fanotify/fanotify.c | 3 +-- fs/notify/inotify/inotify_fsnotify.c | 3 +-- 5 files changed, 10 insertions(+), 21 deletions(-) -- 1.8.2.1 -- 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