Whamcloud - gitweb
LU-2800 llite: introduce local getname() 81/8581/2
authorJeff Mahoney <jeffm@suse.com>
Wed, 20 Mar 2013 01:18:32 +0000 (21:18 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 17 Dec 2013 05:37:59 +0000 (05:37 +0000)
commit1bf4640f5a8e60d3f8d4676663a87c735ea57552
tree1e993037bd96cbfe8a514345528dca3957b4ba8f
parent85c734a5ffe2be48112ffcddca4807d200351d58
LU-2800 llite: introduce local getname()

Commit 8e377d15 (v3.7) unexported getname and putname. Although
getname was re-exported, putname was not. All we really need is
something to to allocate a buffer and copy it from userspace so
let's just use our own version. The down size is that we lose
the audit support in the original getname.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: yang sheng <yang.sheng@intel.com>
Change-Id: If44cd9f9d14f26f220d5f0c52e8b804a49d3cf92
Reviewed-on: http://review.whamcloud.com/8581
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/dir.c