diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-07-16 01:18:42 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-16 01:21:58 +0200 |
commit | f85ef69ce08bc2209858135328335f668ba35bdb (patch) | |
tree | 9612b8f94bca48287cd03f807e4308b4efc5e5b9 /fs/nfs/objlayout | |
parent | nfs: document nfsv4 sillyrename issues (diff) | |
download | linux-f85ef69ce08bc2209858135328335f668ba35bdb.tar.xz linux-f85ef69ce08bc2209858135328335f668ba35bdb.zip |
pnfs: simplify pnfs files module autoloading
Embed the necessary alias into the module rather than waiting for
someone to add it to /etc/modprobe.conf
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/objlayout')
-rw-r--r-- | fs/nfs/objlayout/objio_osd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c index 7d49bb160b46..9383ca7245bc 100644 --- a/fs/nfs/objlayout/objio_osd.c +++ b/fs/nfs/objlayout/objio_osd.c @@ -1065,5 +1065,7 @@ objlayout_exit(void) __func__); } +MODULE_ALIAS("nfs-layouttype4-2"); + module_init(objlayout_init); module_exit(objlayout_exit); |